[wpt-sync] Sync PR 27103 - Move CSPEE to the NavigationRequest.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27103 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27103
Details from upstream follow.
b'arthursonzogni <arthursonzogni@chromium.org>' wrote:
Move CSPEE to the NavigationRequest.
Move CSPEE code from the AncestorThrottle toward the NavigationRequest.
Why?
AncestorThrottle is a NavigationThrottle. NavigationThrottle doesn't
run for several URLs like about:blank or about:srcdoc. This fixes
two test case from bug 1163174.CSPEE can add a 'sandbox' directive. This might modify the origin.
The origin needs to be computed before running the
NavigationThrottle. So something needs to move, one way or another.
Taking CSPEE into accounts will be fixed in a follow-up:
https://chromium-review.googlesource.com/c/chromium/src/+/2614785/2Bug:1163174
Change-Id: I97de093a05b4a71613075ad7ad1ac524c4c5caa1Reviewed-on: https://chromium-review.googlesource.com/2617849
WPT-Export-Revision: 2f05f9678c70428c55fec11a058a18fc1591b6e4
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•7 months ago
|
Description
•