Window.open launches multiple Windows with the same name.

NEW
Unassigned

Status

()

Core
DOM
13 years ago
7 years ago

People

(Reporter: /\/\arcio Galli, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: DUPEME)

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
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.
(Reporter)

Comment 1

13 years ago
Created attachment 172303 [details]
Simple testcase.
(Reporter)

Comment 2

13 years ago
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.

Comment 3

13 years ago
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

Comment 5

13 years ago
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

Comment 6

12 years ago
*** Bug 311282 has been marked as a duplicate of this bug. ***
Assignee: general → nobody
QA Contact: ian → general

Comment 7

7 years ago
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
You need to log in before you can comment on or make changes to this bug.