Closed Bug 1521878 Opened 6 years ago Closed 6 years ago

Principal serialization fallback consistency

Categories

(Core :: DOM: Security, enhancement)

65 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: jkt, Assigned: jkt)

References

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

In many places we are calling (de)serializePrincipal and not safely falling back to a (de)serialized principal and instead letting other call sites in the stack catch the errors.

We should have consistency in the call sites that serialize then try again to create a serialized null principal.

Depends on: 1521549
Whiteboard: [domsecurity-active]
Blocks: 1500114
Pushed by jkingston@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dc037803ceb6 Have fallback consistency for (de)serialization of principals. r=ckerschb
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Regressed by: 1594162
No longer regressed by: 1594162
Regressions: 1594162
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: