commit | 445abd465d4b0a42299e92bd757f49ec152348a9 | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@chromium.org> | Fri Jan 25 21:27:27 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 25 21:27:27 2019 |
tree | 28d1708d37145fd7cd8c8f038ed0e8f5dff0c135 | |
parent | 1870509af54531ba32cc319a5681c258322f1b60 [diff] |
Move verification of OpenURL_Params and DownloadURL_Params to util func. This CL deduplicates verification code that was present in - RenderFrameProxyHost::OnOpenURL - RenderFrameHostImpl::OnOpenURL - RenderFrameMessageFilter::OnDownloadUrl The duplicated code is moved into new util functions. The new functions will be tweaked in the future to add more verification (e.g. to verify |initiator_origin|). Bug: 919144 Change-Id: I50515c42d7f5003dd1f782ba59349599dca0f88d Reviewed-on: https://chromium-review.googlesource.com/c/1395886 Reviewed-by: Nasko Oskov <nasko@chromium.org> Commit-Queue: Ćukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#626207}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .