Closed Bug 1742423 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 31702 - CSP: WPT blockedURI about ws,wss schemes

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Sync web-platform-tests PR 31702 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31702
Details from upstream follow.

Arthur Sonzogni <arthursonzogni@chromium.org> wrote:

CSP: WPT blockedURI about ws,wss schemes

Check if the blockedURI in CSP violation reports allow ws/wss scheme and
whether they are reported as-is or converted to http/https.

See the following discussion:
https://github.com/w3c/webappsec-csp/issues/532

Bug: None
Change-Id: I7024544aefab002cecf71b7ebfb90e8c75d5889b
Reviewed-on: https://chromium-review.googlesource.com/3295459
WPT-Export-Revision: 0a9700c9b6ffe2511ba997c213ba297142a062e2

Component: web-platform-tests → DOM: Security
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
FAIL: 4

Chrome

OK : 1
PASS: 3
FAIL: 1

Safari

OK : 1
PASS: 3
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/content-security-policy/securitypolicyviolation/blockeduri-ws-wss-scheme.html
ws: FAIL
wss: FAIL
cross-origin: FAIL

New Tests That Don't Pass

/content-security-policy/securitypolicyviolation/blockeduri-ws-wss-scheme.html
ws: FAIL (Chrome: PASS, Safari: PASS)
wss: FAIL (Chrome: PASS, Safari: PASS)
cross-origin: FAIL (Chrome: PASS, Safari: PASS)
redirect: FAIL (Chrome: FAIL, Safari: FAIL)

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7253b4a608ab
[wpt PR 31702] - CSP: WPT blockedURI about ws,wss schemes, a=testonly
https://hg.mozilla.org/integration/autoland/rev/fa713b8c1258
[wpt PR 31702] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.