commit | 2cc0167b770497a91056a141e5c0e295a49836ef | [log] [tgz] |
---|---|---|
author | Oleg Davydov <burunduk@chromium.org> | Tue Feb 05 14:32:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 05 14:32:48 2019 |
tree | 95ab034c65f5463d40502ff90dc5e76b0352b2d9 | |
parent | 6864b393c8b5e36a6eb91eb0f277d0ea8f5b50d7 [diff] |
Add blacklist checks for javascript:// ulrs Investigation in https://bugs.chromium.org/p/chromium/issues/detail?id=913334 showed that blacklists (URLBlacklist and URLWhitelist policies) are applied only to “normal” urls, not ones with “javascript” scheme. This is because this URLs (and some more, like “chrome://crash”) are so-called Renderer Debug URLs, they don't need network fetch or something like that, and they are just passed into renderer. So to make blacklists work for such URLs we have to make additional check. Bug: 913334 Change-Id: I109cf27640d641fc35f449ef0bfd622d19a6c27b Reviewed-on: https://chromium-review.googlesource.com/c/1436372 Reviewed-by: Camille Lamy <clamy@chromium.org> Reviewed-by: Sergey Poromov <poromov@chromium.org> Commit-Queue: Oleg Davydov <burunduk@chromium.org> Cr-Commit-Position: refs/heads/master@{#629135}
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 .