Closed Bug 1534971 Opened 1 year ago Closed 1 year ago

Add helper function within CSP to check if two CSPs are equal

Categories

(Core :: DOM: Security, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: ckerschb, Assigned: ckerschb)

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

As a follow up to Bug 1530854 we should add a helper function to check if two CSP objects are equal. We can then call this helper not only from within nsScriptSecuritymanager but also from within nsDocshell, see:
https://searchfox.org/mozilla-central/source/docshell/base/nsDocShell.cpp#9891

Assignee: nobody → ckerschb
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [domsecurity-active]
Attachment #9051078 - Attachment description: Summary: Bug 1534971: Add helper function within CSP to check if two CSPs are equal. r=jkt → Bug 1534971: Add helper function within CSP to check if two CSPs are equal. r=jkt
Pushed by mozilla@christophkerschbaumer.com:
https://hg.mozilla.org/integration/autoland/rev/6343f4a4d75e
Add helper function within CSP to check if two CSPs are equal. r=jkt
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.