| commit | cbba95c79888232d9af16a9ff7e73f351528e37d | [log] [tgz] |
|---|---|---|
| author | Mustafa Emre Acer <meacer@chromium.org> | Mon May 05 23:37:28 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 05 23:37:28 2025 |
| tree | 8355891d8c7c099909c54dc6c406041da236698a | |
| parent | 31f5eb37e11f59e7c4a3adf0fccca9ff9f88fb7f [diff] |
[CSP] Add url_hashes definition for script-src-v2 This CL adds the url_hashes field to the CSP structs. This is in preparation to support URL hashes in the new script-src-v2 directive. The field is going to store hashes of script URLs allowed to be loaded from the page. A follow up CL will parse the policy and populate the field. Bug: 392657736 Change-Id: If482f9aa0e988f4b0d52943d41e3515777a8b756 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6496532 Reviewed-by: Stefan Zager <szager@chromium.org> Commit-Queue: Mustafa Emre Acer <meacer@chromium.org> Reviewed-by: Carlos IL <carlosil@chromium.org> Reviewed-by: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1456009}
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.