[wpt-sync] Sync PR 27904 - CSP: Add WPT for javascript URL inheritance
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 27904 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27904
Details from upstream follow.
b'Antonio Sartori <antoniosartori@chromium.org>' wrote:
CSP: Add WPT for javascript URL inheritance
This CL adds a Web Platform Test checking that executing a Javascript
URL in the top frame keeps the Content Security Policies of the
document.Bug: 1149272,971231
Change-Id: Ib696b0877d96a82f1546947e93ff0d324b1bbf94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2739345
Commit-Queue: Antonio Sartori \<antoniosartori@chromium.org>
Reviewed-by: Arthur Sonzogni \<arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861088}
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e092244b1bf41b0c155b99bd6e299e7b51ab80ba
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
TIMEOUT: 2
Chrome
OK : 1
FAIL : 1
Safari
TIMEOUT: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/content-security-policy/inheritance/javascript-url-open-in-main-window.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
Executing Javascript URL keeps enforcing previous CSPs of the document.: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
Updated•3 years ago
|
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/45348548d72f [wpt PR 27904] - CSP: Add WPT for javascript URL inheritance, a=testonly https://hg.mozilla.org/integration/autoland/rev/5b60abf285e9 [wpt PR 27904] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/45348548d72f
https://hg.mozilla.org/mozilla-central/rev/5b60abf285e9
Description
•