[wpt-sync] Sync PR 26818 - CSP: Fix asserted violatedDirective in WPT CSP report
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox86 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 26818 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26818
Details from upstream follow.
b'Antonio Sartori <antoniosartori@chromium.org>' wrote:
CSP: Fix asserted violatedDirective in WPT CSP report
Some Web Platform Tests for Content Security Policy were wrongly
expecting the violated directives of CSP reports for CSS styles to be
'style-src' instead of 'style-src-attr' and 'style-src-elem'. This
change fixes that.Bug: 694525, 651742
Change-Id: Id13f697eaf8ed72fba1e56eb7b0f7ac2a5837408
Reviewed-on: https://chromium-review.googlesource.com/2580810
WPT-Export-Revision: e51eea35fb46b9dbca07e5f309948781cd71fa62
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
PASS : 23
FAIL : 2
Chrome
OK : 2
PASS : 21
FAIL : 4
Safari
OK : 1
PASS : 18
FAIL : 6
TIMEOUT: 1
NOTRUN : 1
Links
Details
New Tests That Don't Pass
/content-security-policy/style-src/inline-style-allowed-while-cloning-objects.sub.html
Test that violation report event was fired: FAIL (Chrome: PASS, Safari: NOTRUN)
/content-security-policy/style-src/style-blocked.sub.html
Expecting logs: ["violated-directive=style-src-elem","PASS"]: FAIL (Chrome: FAIL, Safari: FAIL)
Updated•5 years ago
|
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a67b8aa27361
https://hg.mozilla.org/mozilla-central/rev/3931cc8ef7f1
Description
•