Closed Bug 218399 Opened 22 years ago Closed 22 years ago

window.open called with existing window name when in other tab opens a new window

Categories

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

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 121377

People

(Reporter: mattias, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 When calling window.open with a name of an existing window to get a reference to it, you will get a new window insted if the window with that name has another tab selected. Reproducible: Always Steps to Reproduce: 1.Go to URL, now you will get a new window with two buttons 2.Create a new tab in the open.html window and make it the active one 3.Press "Get reference to top window" Actual Results: window.open creates a new window Expected Results: window.open should return a reference to the window named "top_window" To make window.open return a reference to the "top_window" window you need to make sure its the active tab in its browser window.
Might be related (or dupe) of bug 121377
Depends on: 121377
Definitely a dup. Marking as such. *** This bug has been marked as a duplicate of 121377 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
No longer depends on: 121377
You need to log in before you can comment on or make changes to this bug.