Closed Bug 268385 Opened 20 years ago Closed 20 years ago

onblur="window.close()" causes crash when right clicking on personal bar bookmark

Categories

(Firefox :: Toolbars and Customization, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 268384

People

(Reporter: bugzilla, Assigned: bugs)

References

()

Details

User-Agent:       Opera/7.54 (Windows NT 5.1; U)  [en]
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

This combination causes a crash:
If you set the preference to prevent scripts from hiding your personal bar
A page opens a popup that contains onblur="window.close()" or onblur="self.
close()"
you right click on a bookmark on the personal bar of that popup

Reproducible: Always
Steps to Reproduce:
1. Popups must be set to open in their own window (default), not as a tab
2. Use about:config to set dom.disable_window_open_feature.personalbar to true
3. Ensure you have at least one bookmark on your personal (bookmarks) bar
4. Open a popup window with onblur="window.close()" or onblur="self.close()" in 
the body tag
5. on the popup window, right click on a bookmark on the personal bar
Actual Results:  
Firefox crashes

Expected Results:  
window should close (nasty UI effect, but that is what the page author demanded)
, or context menu for the bookmark should appear

default theme. tested on multiple computers, all XP

talkback ID is TB1800786M (c/o irc://irc.mozilla.org/developers /aebrahim)

Bug may be dup of https://bugzilla.mozilla.org/show_bug.cgi?id=264873 but 
trigger is different, and talkback sigs are different (c/o irc://irc.mozilla.
org/developers /IanN)

*** This bug has been marked as a duplicate of 268384 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → toolbars
You need to log in before you can comment on or make changes to this bug.