Closed Bug 1599791 Opened 5 years ago Closed 4 years ago

Write a test for <link rel="preload" as="script"> with a CSP of "script-src 'none'"

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mayhemer, Assigned: ckerschb)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [domsecurity-active])

Attachments

(1 file)

As suggested at [1] we should have a test to make sure we catch this case. This depends on landing and enabling the work in bug 1594449.

[1] https://phabricator.services.mozilla.com/D52019#1671055

Thanks for filing Honza; Making it block the main CSP meta bug 1231788 so we keep tracking it; I'll put in the backlog for now, but we should really write that test.

Depends on: csp-w3c-3
Keywords: good-first-bug
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Assignee: nobody → ckerschb
Status: NEW → ASSIGNED
Priority: P3 → P2
Whiteboard: [domsecurity-backlog1] → [domsecurity-active]
Attachment #9136614 - Attachment description: Bug 1599791: Test CSP and link rel=preload. r=mahemer → Bug 1599791: Test CSP and link rel=preload. r=mayhemer
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f2f8ac87d517
Test CSP and link rel=preload. r=mayhemer
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: