Closed Bug 1579021 Opened 7 years ago Closed 4 years ago

[wpt-sync] Sync PR 18872 - Avoid harness error in script-src-strict_dynamic_in_img-src.html

Categories

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

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

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

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

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

Philip Jägenstedt <philip@foolip.org> wrote:

Avoid harness error in script-src-strict_dynamic_in_img-src.html

If "securitypolicyviolation" is fired, it results in a harness error:
https://wpt.fyi/results/content-security-policy/script-src/script-src-strict_dynamic_in_img-src.html?run_id=297090015&run_id=295220010&run_id=305100004

Make it another way to fail the (only) test instead.

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago → 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.