commit | 4dafc317b6e614bdd86ea3e2f5c2fc2e8518a877 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Fri Jun 22 23:16:31 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jun 22 23:16:31 2018 |
tree | e29ef4470b55132a4e8ade2dadd1f0c7f0ffc83f | |
parent | b37053ca6b95f4fbbea22eb5ebb795fb31ffe4c3 [diff] |
[Extensions] Restrict debugging file:-scheme URLs Don't allow extensions to debug file:-scheme URLs if the extension does not have explicit file access (as set in chrome://extensions). Achieve this by introducing a new virtual method on DevToolsAgentHostClient to allow the implementor to check if a given host is allowed to be inspected. Add regression tests for the same. Bug: 666299 Change-Id: Icb5ee89bf788643eee166eef83802d10ab825a6c Reviewed-on: https://chromium-review.googlesource.com/1104954 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#569828}
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 .