Closed
Bug 841406
Opened 13 years ago
Closed 13 years ago
Remove enablePrivilege from tests added in bug 739217
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: bholley, Assigned: andreshm)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
10.61 KB,
patch
|
mak
:
review+
|
Details | Diff | Splinter Review |
I was just grepping through the commit log, and it appears that bug 739217 added nontrivial usage of enablePrivilege. That API is dangerous and deprecated, and per jst's decree new code may not add usage of enablePrivilege. The replacement API is SpecialPowers. :-)
Andres or mak, can one of you guys take ownership of fixing the tests?
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → andres
| Assignee | ||
Comment 1•13 years ago
|
||
Currently, the mochitest browser and plain files were sharing the same head.js. With this patch there is a new head_plain.js, so enablePrivilege is not needed anymore.
Attachment #714561 -
Flags: review?(mak77)
| Assignee | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
Comment 2•13 years ago
|
||
Comment on attachment 714561 [details] [diff] [review]
Patch v1
Review of attachment 714561 [details] [diff] [review]:
-----------------------------------------------------------------
So, if I got this right, you copied head.js to head_plain.js, removed from head.js the no more useful enablePrivileges, and removed any privileged code from head_plain.js
This looks fine.
Attachment #714561 -
Flags: review?(mak77) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=d1cadae83636
| Assignee | ||
Comment 4•13 years ago
|
||
All green on try: https://tbpl.mozilla.org/?tree=Try&rev=d1cadae83636
Keywords: checkin-needed
Comment 5•13 years ago
|
||
Keywords: checkin-needed
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•