Closed Bug 239838 Opened 21 years ago Closed 21 years ago

javascript popups from toolbar forced under current window

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 108394

People

(Reporter: kyle-mozillabugzilla, Assigned: bugzilla)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 For people who open new windows via javascript bookmarks (e.g. Privoxy users). When such windows are opened, they are hidden behind the current window even though javascript explicitly says to focus() the window. Here is an example: javascript:void(window.open('http://config.privoxy.org/toggle?mini=y&set=toggle','ijbstatus','width=250,height=100,resizable=yes,scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus()); Reproducible: Always Steps to Reproduce: 1.Create a bookmark in the bookmark toolbar. 2.Set the URL of the bookmark to something like: javascript:void(window.open('http://config.privoxy.org/toggle?mini=y&set=toggle','ijbstatus','width=250,height=100,resizable=yes,scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus()); 3.Click the bookmark Actual Results: The window it created appeared behind the main window. Expected Results: The window it created should appear in front of the main window. I have a pretty default setup. I do, however, use a localhost proxy (Privoxy).
*** This bug has been marked as a duplicate of 108394 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.