Closed Bug 147762 Opened 22 years ago Closed 22 years ago

java script function window.close in one tab browser close the whole browser, not the current tab browser

Categories

(SeaMonkey :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 103452

People

(Reporter: jerry.tan, Assigned: jag+mozilla)

Details

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)
BuildID:    20020510

open one html page in one tab browser, the html page contains.
<a href="javascript:window.close()">Close the window</a>
when click it, the whole browser will be closed.

Reproducible: Always
Steps to Reproduce:
1.open one browser
2.open one page with it, the page contains 
<a href="javascript:window.close()">Close the window</a>
3.click the link

Actual Results:  the whole browser will be closed

Expected Results:  only the current tab browser be closed, and I can still use 
main browser.

*** This bug has been marked as a duplicate of 103452 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
marking verified as a duplicate.

if you decide to reopen this bug, please clarify why.

search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.