Closed
Bug 1233911
Opened 8 years ago
Closed 8 years ago
NativeApps.js needs to use user context origin attributes correctly
Categories
(Firefox Graveyard :: Web Apps, defect)
Firefox Graveyard
Web Apps
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: huseby, Unassigned)
References
Details
(Whiteboard: [userContextId][OA])
In the file toolkit/webapps/NativeApp.jsm there are calls to createCodebasePrincipal that need to be fixed to use the correct user context origin attributes. Here's the offending code:
> toolkit/webapps/NativeApp.jsm
> line 459
> let principal =
> aIconURI.schemeIs("chrome") ?
> Services.scriptSecurityManager.getSystemPrincipal() :
> Services.scriptSecurityManager.createCodebasePrincipal(aIconURI, {});
Reporter | ||
Comment 1•8 years ago
|
||
Jonas, what's the right way to go in this file? Should NativeApp.jsm use user context isolation?
Flags: needinfo?(jonas)
Reporter | ||
Updated•8 years ago
|
Component: Web Apps → DOM
Product: Firefox → Core
Reporter | ||
Updated•8 years ago
|
Component: DOM → Web Apps
Product: Core → Firefox
Reporter | ||
Updated•8 years ago
|
Whiteboard: [userContextId]
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(jonas)
Comment 2•8 years ago
|
||
Per bug 1238079, we're going to disable the desktop web runtime and remove it from the codebase, so we won't fix these bugs in the integration between Firefox and the runtime.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
Comment 3•8 years ago
|
||
(In reply to Myk Melez [:myk] [@mykmelez] from comment #2) > Per bug 1238079, we're going to disable the desktop web runtime and remove it > from the codebase, so we won't fix these bugs in the integration between > Firefox and the runtime. Do you have a rough timeline for this? FF 47/48? Or later? Thanks!
Reporter | ||
Updated•8 years ago
|
Whiteboard: [userContextId] → [userContextId][OA]
You need to log in
before you can comment on or make changes to this bug.
Description
•