Closed
Bug 620779
Opened 15 years ago
Closed 10 years ago
nsScriptSecurityManager::doGetObjectPrincipal should use compartments
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mrbkap, Unassigned)
Details
Right now, we do a parent chain walk (though we short circuit if we find an XPCWrappedNative). We could just use the compartment's principal, which should be faster.
Comment 1•15 years ago
|
||
Yesplease!
Comment 2•15 years ago
|
||
Actually, will this do the right thing for cases where we use principals for base URIs? I would think it would break. Or do those not go through this code?
| Assignee | ||
Updated•12 years ago
|
Assignee: general → nobody
| Reporter | ||
Comment 3•10 years ago
|
||
This happened with compartment per global.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•