Open Bug 279670 Opened 17 years ago Updated 2 years ago

Window.open launches multiple Windows with the same name.

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
Windows XP
defect

Tracking

()

People

(Reporter: mgalli, Unassigned)

References

Details

(Whiteboard: DUPEME)

Attachments

(1 file)

Will attach testcase, need help to reaply to the right component. 

Description: 
===========
Window.open("","pageIdName") creates multiple windows; It should create only one
window because there is a Window name specified. The problem happens if you
click very fast. For example use the attached Web page and click lots of time
over the link and you will see multiple Windows created. If you click multiple
times very slow, then works fine.
Attached file Simple testcase.
Confirmed with latest trunk 01/24. 
Summary: Window.open launches multiple Windows with the same name. → Window.open launches multiple Windows with the same name.
Same for Mozilla 1.8b trunk builds.
Assignee: firefox → general
Component: General → DOM
Product: Firefox → Core
QA Contact: general → ian
This is a duplicate.  The problem is that the second click happens before the
first window is open, and hence there is no window with that name yet....
Whiteboard: DUPEME
You're probably thinking of bug 266324. Both are the same basic problem, but
your potential hackaround (bug 266324 comment 7) wouldn't help with the general
case outlined in this bug. I'm marking that bug dependent on this one to note
the relationship.
Blocks: 266324
*** Bug 311282 has been marked as a duplicate of this bug. ***
Assignee: general → nobody
QA Contact: ian → general
Here is the description of the workaround I came up with for this problem: http://www.yagudaev.com/programming/javascript/13-multiple-popup-windows-workaround
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.