Fix content security logging to properly log expandedprincipal

RESOLVED FIXED in Firefox 66

Status

()

enhancement
P2
normal
RESOLVED FIXED
6 months ago
6 months ago

People

(Reporter: freddyb, Assigned: freddyb)

Tracking

unspecified
mozilla66
Points:
---

Firefox Tracking Flags

(firefox66 fixed)

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 attachment)

+++ 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.

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: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.