Closed
Bug 715417
Opened 14 years ago
Closed 14 years ago
Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: bholley, Assigned: bholley)
Details
Attachments
(1 file)
|
7.31 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
They don't do anything useful, and haven't as long as hg has been around. They consume memory, and fool poor people like myself into thinking there's something plurals about a JSPrincipals.
Patch coming right up. I'd also love to rename JSPrincipals to JSPrincipal, but I'm guessing that will be vetoed on the grounds that it breaks the API for no good reason. _I_ say it's a good reason.
https://developer.mozilla.org/en/JSPrincipals will also need to be updated.
| Assignee | ||
Comment 1•14 years ago
|
||
Attaching patch. Flagging mrbkap for review.
Attachment #585968 -
Flags: review?(mrbkap)
Comment 2•14 years ago
|
||
Comment on attachment 585968 [details] [diff] [review]
Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals. v1
Yeah, we should have done this when we started making backwards-incompatible changes to the UI.
Attachment #585968 -
Flags: review?(mrbkap) → review+
Comment 3•14 years ago
|
||
Of course, by UI I meant API.
| Assignee | ||
Comment 4•14 years ago
|
||
Pushed this to try: https://tbpl.mozilla.org/?tree=Try&rev=4077fdcc109e
| Assignee | ||
Comment 5•14 years ago
|
||
Linux built super-fast for this one and went green, which is good enough for me.
Landed to mozilla-inbound: http://hg.mozilla.org/integration/mozilla-inbound/rev/a761ff40306b
Target Milestone: --- → mozilla12
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•