Closed Bug 151490 Opened 22 years ago Closed 22 years ago

Window.close on a tab closes navigator window with all the tabs

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
major

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>
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: 22 years ago
Resolution: --- → DUPLICATE
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.