Closed
Bug 289991
Opened 20 years ago
Closed 20 years ago
[FIX]Crash related to PrivilegeManager
Categories
(Core :: Security: CAPS, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.8beta2
People
(Reporter: bugzilla, Assigned: bzbarsky)
References
Details
(4 keywords)
Attachments
(2 files)
2.00 KB,
text/html
|
Details | |
1.97 KB,
patch
|
caillon
:
review+
dbaron
:
superreview+
dbaron
:
approval1.8b2+
|
Details | Diff | Splinter Review |
I've cornered a crash which is caused either by
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
or netscape.security.PrivilegeManager.revertPrivilege("UniversalBrowserWrite");
Mozilla 1.8b2 build 2005041106 under XP Pro SP2 here.
1 TalkbackID incident: 5020066
(there are 3 others talkbackid but I did not get the talkback id)
Reduced testcase coming.
Reporter | ||
Comment 1•20 years ago
|
||
Load this testcase, then unload the page by going to another url.
On an unload event, the testcase execute these instructions:
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
window.locationbar.visible = originalLocationbar ;
window.menubar.visible = originalMenubar ;
window.personalbar.visible = originalPersonalbar ;
window.statusbar.visible = originalStatusbar ;
window.toolbar.visible = originalToolbar ;
netscape.security.PrivilegeManager.revertPrivilege("UniversalBrowserWrite");
Reporter | ||
Updated•20 years ago
|
Keywords: clean-report,
testcase
Summary: Crash related to PrivilegeManager → Crash related to PrivilegeManager
Assignee: general → dveditz
Component: General → Security: CAPS
Product: Mozilla Application Suite → Core
QA Contact: general
Assignee | ||
Comment 2•20 years ago
|
||
This is a silly mistake in the patch for bug 289643. In this one case we
forget to set the our param on successful return, and then all heck breaks
lose.
The other change in this diff is just a whitespace change that I meant to do in
bug 289643 and forgot...
Assignee | ||
Updated•20 years ago
|
Attachment #180456 -
Flags: superreview?(brendan)
Attachment #180456 -
Flags: review?(caillon)
Updated•20 years ago
|
Attachment #180456 -
Flags: review?(caillon) → review+
Assignee | ||
Updated•20 years ago
|
Assignee: dveditz → bzbarsky
Priority: -- → P1
Summary: Crash related to PrivilegeManager → [FIX]Crash related to PrivilegeManager
Target Milestone: --- → mozilla1.8beta2
Attachment #180456 -
Flags: superreview?(brendan)
Attachment #180456 -
Flags: superreview+
Attachment #180456 -
Flags: approval1.8b2+
Assignee | ||
Comment 3•20 years ago
|
||
Patch checked in. Gerard, thanks for the excellent testcase. Made it possible
to find people willing to help debug remotely, if nothing else... ;)
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•20 years ago
|
||
*** Bug 289925 has been marked as a duplicate of this bug. ***
*** Bug 290014 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•