Closed Bug 1260911 Opened 6 years ago Closed 6 years ago

GetChannelPrincipalWithSignedPkg needs to handle userContextId correctly.

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: huseby, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [userContextId][OA])

In the file TabParent.cpp there is a call to createCodebasePrincipal here: 

https://mxr.mozilla.org/mozilla-central/source/dom/ipc/TabParent.cpp#499

I am 99% sure this code is correct.  I'm filing this bug so that somebody will confirm that.  We need to look at how the newly created principal is used.  Is it used for isolating any browser state?  If so, do we want to isolate on user context id?
Component: DOM → DOM: Security
That function is made for FXOS NSec, and Bug 1260876 is likely to remove mSignedPkg from TabParent::ShouldSwitchProcess.
Whiteboard: [userContextId] → [userContextId][OA]
Bug 1260876 removed this function.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.