[wpt-sync] Sync PR 27870 - CSP: Fix WPT test for CSP inheritance on document.open
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox88 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 27870 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27870
Details from upstream follow.
b'Antonio Sartori <antoniosartori@chromium.org>' wrote:
CSP: Fix WPT test for CSP inheritance on document.open
On document.open(), the Content Security Policies of the document open
should not be changed. This CL fixes the existing Web Platform Test to
match the expected behaviour. The test is currently failing, but will
be fixed by https://crrev.com/c/2715285.Bug: 1149272
Change-Id: I92e7759a022eda069e3d6a486ddff488a8ae7ac1
Reviewed-on: https://chromium-review.googlesource.com/2725110
WPT-Export-Revision: 2c9fb76291cf5a0d9e465f32ed380d9fa8d8bf2c
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
TIMEOUT: 2
NOTRUN : 1
Chrome
OK : 1
PASS : 1
FAIL : 1
Safari
TIMEOUT: 2
NOTRUN : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/content-security-policy/inheritance/document-write-iframe.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
document.open() keeps inherited CSPs on empty iframe.: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
document.open() does not change delivered CSPs.: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
Comment 4•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4eba24bc7131
https://hg.mozilla.org/mozilla-central/rev/0728de143e90
Description
•