Closed Bug 1519817 Opened 2 years ago Closed 2 years ago

Fix content security logging to properly log expandedprincipal

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: freddy, Assigned: freddy)

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1499384 +++

This is a workaround for bug 1499384.

Instead of relying on GetOrigin for ExpandedPrincipals, I'm querying AllowList() and iterating myself. This is a bit less performant but assumed OK for Debug code that is disabled by default.

This is a workaround for bug 1499384.

Workaround for bug 1519813, I should say.

Keywords: checkin-needed

Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c30316708edc
iterate over allowList when logging ExpandedPrincipal for debugging r=ckerschb

Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.