forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CSP] Fix dedicated worker inheritance
Dedicated workers should populate their Content Security Policy from parsing their response headers. In chrome, they instead used to inherit CSP from the creator document. This CL fixes that. Note that workers with local schemes (data, blob, filesystem) still inherit CSP from the creator context. Intent to ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/sH75Nkx_OZ0 Relevant algorithm in the specification: https://html.spec.whatwg.org/#initialize-worker-policy-container Bug: 1012640,1253267 Change-Id: I2630bf1ba9425114758d805d5e0b8a3664cbd906 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3168339 Reviewed-by: Mike West <[email protected]> Reviewed-by: Carlos IL <[email protected]> Reviewed-by: Hiroshige Hayashizaki <[email protected]> Commit-Queue: Carlos IL <[email protected]> Cr-Commit-Position: refs/heads/main@{#931337}
- Loading branch information
1 parent
dad94a0
commit 0a8c303
Showing
91 changed files
with
311 additions
and
2,526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.