Closed Bug 118342 Opened 23 years ago Closed 23 years ago

Javascript close.self closes browser instead of tab

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 103452

People

(Reporter: b.j.w.van.duijnhoven, Assigned: hyatt)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7) Gecko/20011221
BuildID:    2001122106

In the mentioned URL (http://www.bbc.co.uk/gameskids/pokemon/characters2.html)
the javascript close.self statement closes the entire browser instead of the
current tab in tabbed browsing. It correctly closes current window in normal
browsing.

Reproducible: Always
Steps to Reproduce:
1. Start Mozilla
2. Open new TAB (File -> New -> Navigator Tab)
3. Open URL http://www.bbc.co.uk/gameskids/pokemon/characters2.html
4. Click close link


Actual Results:  Entire browser closes

Expected Results:  Current tab should be closed in tabbed browsing, in normal
browsing current window should be closed

<a href="#" onClick="self.close();return false;"><font face="Verdana, Arial,
Helvetica, sans-serif" size="1">Close</font></a>

*** This bug has been marked as a duplicate of 103452 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
vrfy dup
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.