Closed
Bug 5729
Opened 25 years ago
Closed 25 years ago
window.open opens multiple windows with the same window name
Categories
(Core :: DOM: Core & HTML, defect, P1)
Tracking
()
VERIFIED
FIXED
M9
People
(Reporter: gerardok, Assigned: danm.moz)
References
Details
(Whiteboard: QA BLOCKER - Blocking QA automation)
Project: Seamonkey
Program: Apprunner.exe
BuildID: 1999-04-29-08
Platform: WinNT
If you have an window named FooWin, window.open("URL", "FooWin") fails to locate
that window and it opens a new window with the same name instead.
The same failure is happening on Win32, MacOS and possibly on Linux. Viewer.exe
doesn't show that failure.
Steps to reproduce:
1. Create an HTML file with the following content:
<HTML>
<HEAD>
<TITLE>test.html</TITLE>
</HEAD>
<BODY>
<SCRIPT type="text/javascript">
window.open("http://bubblegum", "FooWin");
window.open("http://slip", "FooWin");
</SCRIPT>
</BODY>
</HTML>
2. Load that file in apprunner
Actual Results: It opens two child windows.
Expected results: A single child window opened with the homepage from slip
server displayed in it.
Priority: P3 → P1
QA Contact: 4616 → 4015
Whiteboard: QA BLOCKER
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M6
Comment 1•25 years ago
|
||
Sorry. There's no way this can happen by M5. In order to iterate over all open
windows, I have a dependency on David Matiskella's window manager. Until that
lands, this bug is dead in the water.
Setting Target Milestone to M6, since I'm assuming that the window manager is
slated to go in some time before M6 closes.
Severity: major → blocker
Whiteboard: QA BLOCKER → QA BLOCKER - Blocking QA automation
Updated•25 years ago
|
Target Milestone: M6 → M8
Comment 2•25 years ago
|
||
window.open doesn't even work on Mac and Linux. It won't before necko
lands. Moving off to M8.
Updated•25 years ago
|
Assignee: hyatt → danm
Status: ASSIGNED → NEW
Comment 3•25 years ago
|
||
Giving this to danm. Basically our FindBlahByName method in nsWebShellWindow
needs to know how to look over the window list.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
The same failure is happening in M9 builds. It was working fine on the released
M8 build. Re-tested bug on 07/27 and 07/22 Apprunner. Bug reopened.
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Hmmm. Someone broke the window lookup-by-name code, middle of July. That's been fixed
and this bug seems gone once again.
Reporter | ||
Comment 10•25 years ago
|
||
Verified on 1999-08-13-09-M9 build.
You need to log in
before you can comment on or make changes to this bug.
Description
•