forked from mykmelez/gecko
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1625893 [wpt PR 22526] - DedicatedWorker should reject script w/o…
… COEP when its parent has COEP, a=testonly Automatic update from web-platform-tests DedicatedWorker should reject script w/o COEP when its parent has COEP [1] is changing how COEP is set to (dedicated) worker top-level scripts. Before the change it inherited the parent policy. After the change it gets the policy from the HTTP headers in the response, but the loading is blocked when the parent has COEP: require-corp but the child doesn't have COEP: require-corp. As described in [2], this can be solved by a project called PlzDedicatedWorker, but it will take time to ship it. As a short-term fix, this implements the blocking part. No reporting is implemented. This fix is important because this is a breaking change. We would like to land this by M83. 1: WICG/cross-origin-embedder-policy#13 2: https://docs.google.com/document/d/1eB34zYLuQHshN_Tt8BbLSehHyvxqWupVdB09CCbn7g4/edit Bug: 1064920 Change-Id: I55fa951f18692d642c747cff168d8239de69efb6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2126652 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#755782} -- wpt-commits: 9446a9251cd68c7abdee377fe5a9ad8f40db5c44 wpt-pr: 22526
- Loading branch information
1 parent
1a9f308
commit 4142c0e
Showing
2 changed files
with
20 additions
and
20 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