Closed
Bug 131570
Opened 23 years ago
Closed 23 years ago
window.close() closes window instead of tab
Categories
(SeaMonkey :: Tabbed Browser, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 103452
People
(Reporter: bugzilla, Assigned: jag+mozilla)
Details
window.close() does ask for confirmation, but then OK is clicked, all tabs are
closed, which is not what page authors meant. Javascript has no knowledge of
tabs, so a window object can only be a tab (also because scripts should't be
able to alter other tabs :)). IMHO, window.close() should do the same as ^W:
close the window only if it has a single tab, close the tab of the caller otherwise.
Comment 1•23 years ago
|
||
*** This bug has been marked as a duplicate of 103452 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•