Closed
Bug 150169
Opened 22 years ago
Closed 22 years ago
javascript window.close() in tabbed window closes whole mozilla
Categories
(SeaMonkey :: Tabbed Browser, defect)
Tracking
(Not tracked)
People
(Reporter: prodevp, Assigned: jag+mozilla)
References
()
Details
javascript window.close should not closes whole mozilla when used in tab. It should only close itself "the tabbed window". The following link presents two demo pages. http://eming.net/mozilla/bug One automatically closes window using <body onLoad="setTimeout(window.close, 5000)"> The other has a simple onclick="window.close()". Open those pages with "open link in new tab" to see the effects.
Comment 1•22 years ago
|
||
confirmed. using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020531 Debian/1.0rc3-2
Comment 2•22 years ago
|
||
*** Bug 150171 has been marked as a duplicate of this bug. ***
Comment 3•22 years ago
|
||
This is a known bug. Duplicate of bug 32571 : "close() can close windows it doesn't own". *** This bug has been marked as a duplicate of 32571 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 4•22 years ago
|
||
Actually, there are two bugs here. You duped it against one of them. The other bug is bug 103452, which is about making sure only the tab and not the whole window is closed. The second bug has been fixed, so if you try your tests in a recent nightly it'll work as expected.
Comment 5•22 years ago
|
||
marking verified as a duplicate. if you decide to reopen this bug, please clarify why. search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•