Closed Bug 170487 Opened 22 years ago Closed 22 years ago

Javascript closes whole browser instead of a tab

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 103452

People

(Reporter: reivec, Assigned: rogerl)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

This may be fixed in 1.1 or higher because I am still on 1.0.  But the
javascript:self.close() tag closes the entire browser when it should really just
close a tab.  I have my settings to not allow pop-ups or even new windows when
you click the link, this way I force everything into a tab, and I open a new tab
with a middle click instead of a normal click.  I feel I have much more control
of the web pages I view this way.  But I was on kde-look and clicked on a
screenshot assuming it would close the tab (it is intended to open a new window,
then close that window it just made once you click).  It closed the entire
browser instead.  I think if you are using tabs, then no single page should have
the ability to close the entire program, as that would close MANY other pages as
well.

Reproducible: Always

Steps to Reproduce:
1. goto www.kde-look.org
2. view a screenshot 
3. click on the picture to close

Actual Results:  
browser closes

Expected Results:  
close a tab
Whiteboard: DUPEME
This should be fixed with 1.0.1, please download a new Mozilla version and
reopen bug report if not fixed.

*** This bug has been marked as a duplicate of 103452 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Marking Verified Duplicate.

Bug 103452 was fixed on 2002-06-04; up-to-date builds should not
have this bug -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.