[wpt-sync] Sync PR 21934 - CSP nonce: correct some SVG assertions
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox75 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 21934 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/21934
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
CSP nonce: correct some SVG assertions
Chrome implements nonce reflection incorrectly for SVG and the tests (used to) reflect that...
Also change assertion order of a custom element test to be more useful.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 9 subtests
Status Summary
Firefox
OK : 3
PASS : 8
FAIL : 22
Chrome
OK : 3
PASS : 28
FAIL : 2
Safari
OK : 1
PASS : 2
FAIL : 10
ERROR: 2
Links
Details
Firefox-only Failures
/content-security-policy/nonce-hiding/script-nonces-hidden.html
Writing 'nonce' content attribute.: FAIL
New Tests That Don't Pass
/content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.sub.html
Cloned node retains nonce.: FAIL (Chrome: PASS)
Writing 'nonce' content attribute.: FAIL (Chrome: FAIL)
Cloned node retains nonce when inserted.: FAIL (Chrome: PASS)
Reading 'nonce' content attribute and IDL attribute.: FAIL (Chrome: PASS)
Document-written script's nonce value.: FAIL (Chrome: PASS)
createElement.setAttribute.: FAIL (Chrome: PASS)
/content-security-policy/nonce-hiding/script-nonces-hidden.html
Cloned node retains nonce.: FAIL (Chrome: PASS, Safari: FAIL)
createElement.nonce.: FAIL (Chrome: PASS, Safari: FAIL)
Writing 'nonce' content attribute.: FAIL (Chrome: PASS, Safari: PASS)
Cloned node retains nonce when inserted.: FAIL (Chrome: PASS, Safari: FAIL)
Reading 'nonce' content attribute and IDL attribute.: FAIL (Chrome: PASS, Safari: FAIL)
Document-written script's nonce value.: FAIL (Chrome: PASS, Safari: FAIL)
setAttribute('nonce') overwrites '.nonce' upon insertion.: FAIL (Chrome: PASS, Safari: FAIL)
Custom elements expose the correct events.: FAIL (Chrome: PASS, Safari: FAIL)
Nonces don't leak via CSS side-channels.: FAIL (Chrome: PASS, Safari: FAIL)
createElement.setAttribute.: FAIL (Chrome: PASS, Safari: FAIL)
/content-security-policy/nonce-hiding/svgscript-nonces-hidden.html
Cloned node retains nonce.: FAIL (Chrome: PASS)
Writing 'nonce' content attribute.: FAIL (Chrome: FAIL)
Cloned node retains nonce when inserted.: FAIL (Chrome: PASS)
Reading 'nonce' content attribute and IDL attribute.: FAIL (Chrome: PASS)
Document-written script's nonce value.: FAIL (Chrome: PASS)
createElement.setAttribute.: FAIL (Chrome: PASS)
Updated•6 years ago
|
Comment 4•6 years ago
|
||
| bugherder | ||
Description
•