Closed
Bug 151490
Opened 23 years ago
Closed 23 years ago
Window.close on a tab closes navigator window with all the tabs
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 103452
People
(Reporter: NetVicious, Assigned: rogerl)
Details
A click on a link like this closes the Mozilla window instead of closing the tab
with the web of the link
<a href="javascript:window.close()">Close Window</a>
| Reporter | ||
Comment 1•23 years ago
|
||
Test it with this
--------------------------------
Window.html
--------------------------------
<html>
<head>
<title>Window 1</title>
</head>
<body>
<a href="window2.html" target="_blank">Open Window2</a>
</body>
</html>
--------------------------------
window2.html
--------------------------------
<html>
<head>
<title>Window 2</title>
</head>
<body>
<a href="javascript:window.close()">Close Window</a>
</body>
</html>
Dupe of bug 103452.
*** This bug has been marked as a duplicate of 103452 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 3•23 years ago
|
||
Verified Duplicate.
NetVicious@hotmail.com: this has recently been fixed. Please
try an up-to-date build: if you find it hasn't been fixed,
then reopen the other bug, bug 103452.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•