[wpt-sync] Sync PR 26792 - 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 26792 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26792
Details from upstream follow.
b'Antonio Sartori <antoniosartori@chromium.org>' wrote:
CSP: Fix asserted violatedDirective in WPT CSP report
A Web Platform Test for Content Security Policy was wrongly expecting
the violated directive of a CSP report for a \<script> element
violation to be 'script-src'. This change fixes that.Bug: 694525, 651742
Change-Id: Ia499dbf49678e4d6e834c51ab472f874063badf5
Reviewed-on: https://chromium-review.googlesource.com/2577683
WPT-Export-Revision: bd139278a50adc4727cf70012d98ed8c69eb944a
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
PASS : 1
FAIL : 1
Chrome
OK : 1
PASS : 2
Safari
PASS : 1
TIMEOUT: 1
NOTRUN : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/content-security-policy/script-src/script-src-1_10.html
Test that securitypolicyviolation event is fired: FAIL (Chrome: PASS, Safari: NOTRUN)
Updated•5 years ago
|
Comment 4•5 years ago
|
||
| bugherder | ||
Description
•