commit | 2bfaa6f0446e2fc82485c53e351e1e835a0a2edc | [log] [tgz] |
---|---|---|
author | Karandeep Bhatia <karandeepb@chromium.org> | Fri Sep 03 06:13:45 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 03 06:13:45 2021 |
tree | f3280e88c5770b7f6e07b57a70e01257bc81b383 | |
parent | 7d4c79f60be4e91e89be819ab04a2d9ecf70c24b [diff] |
DNR: Introduce the "declarativeNetRequestWithHostAccess" permission. Introduce a new permission called "declarativeNetRequestWithHostAccess". - This permission will allow the extensions to use the declarativeNetRequest API without specifying the declarativeNetRequest permission (which requires users to agree to allow the extension to block content on all sites). - This permission will not lead to any permission messages on its own. - The declarativeNetRequest API will be available if the extension has either the declarativeNetRequestWithHostAccess or declarativeNetRequest permission. - This permission will be expected to be used with host permissions and activeTab. - This will provide a migration path for extensions using webRequestBlocking without <all_urls>, without any privilege escalation. This CL only introduces the permission. It will be implemented in a follow-up. Bug: 1034407 Change-Id: I78aa7616d5bafbf180621174e3f03fc36cff1a6f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3123444 Commit-Queue: Emily Stark <estark@chromium.org> Auto-Submit: Karan Bhatia <karandeepb@chromium.org> Reviewed-by: Emily Stark <estark@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#917987}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.