Closed Bug 1733579 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 31041 - [CSP] Added test for proper security violation

Categories

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

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Francis McCabe <fgm@chromium.org> wrote:

[CSP] Added test for proper security violation

Bug: 948834
Change-Id: I0b76fd725136b7ddda92e629f147f5ba77c50ffb
Reviewed-on: https://chromium-review.googlesource.com/3197842
WPT-Export-Revision: 524c45f8885d308f25b59b8e91e982659c4fd14f

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]

CI Results

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

Total 4 tests and 2 subtests

Status Summary

Firefox

PASS : 4
TIMEOUT: 8

Chrome

OK : 4
PASS : 4
FAIL : 4

Safari

PASS : 3
TIMEOUT: 6
ERROR : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/content-security-policy/wasm-unsafe-eval/script-src-spv-asynch.any.serviceworker.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
Securitypolicyviolation event looks like it should: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
/content-security-policy/wasm-unsafe-eval/script-src-spv-asynch.any.sharedworker.html: TIMEOUT (Chrome: OK, Safari: ERROR)
Securitypolicyviolation event looks like it should: TIMEOUT (Chrome: FAIL)
/content-security-policy/wasm-unsafe-eval/script-src-spv-asynch.any.worker.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
Securitypolicyviolation event looks like it should: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
/content-security-policy/wasm-unsafe-eval/script-src-spv-asynch.any.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
Securitypolicyviolation event looks like it should: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/980c5a1e7541 [wpt PR 31041] - [CSP] Added new policy violation source: wasm-eval, a=testonly https://hg.mozilla.org/integration/autoland/rev/e97c12c1d3f1 [wpt PR 31041] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.