Closed
Bug 1149280
Opened 9 years ago
Closed 9 years ago
Make nullprincipal creation faster
Categories
(Core :: Security, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
15.13 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
4.63 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
The current setup is stupid. We do the following: 1) In nsScriptSecurityManager::CreateCodebasePrincipal we use the contractid instead of just creating a nullprincipal directly. 2) In nsNullPrincipal we end up creating a URI string to pass to nsNullPrincipalURI, which then just parses it apart. That's silly.
![]() |
Assignee | |
Comment 1•9 years ago
|
||
Attachment #8585859 -
Flags: review?(bugs)
![]() |
Assignee | |
Comment 2•9 years ago
|
||
Attachment #8585860 -
Flags: review?(bugs)
Updated•9 years ago
|
Attachment #8585860 -
Flags: review?(bugs) → review+
Updated•9 years ago
|
Attachment #8585859 -
Flags: review?(bugs) → review+
![]() |
Assignee | |
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/60d47f603817 https://hg.mozilla.org/integration/mozilla-inbound/rev/c39ec40cb4e1
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/60d47f603817 https://hg.mozilla.org/mozilla-central/rev/c39ec40cb4e1
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•