Closed Bug 139278 Opened 22 years ago Closed 22 years ago

window.close() javascript reacts as programmed but not user friendly for users using tabbed windows

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 103452

People

(Reporter: mspeer, Assigned: rogerl)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+)
Gecko/20020419
BuildID:    2002041903

If a page uses window.close() and the user is using tabbed windows the function
closes the entire browser window.  I know the function is acting exactly how it
is supposed to but it's not exactly the user would think it would react.  I
think it would be a nice user friendly feature to only shut down the active tab
with the window.close() function is fired.

Reproducible: Always
Steps to Reproduce:
1.find a page that uses the window.close javascript function
2.make that event fire
3.

Actual Results:  the whole browser is closed.

Expected Results:  only the tab should close

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

Matt, thank you for this report. You have been cc'ed
on the other bug so you may follow its progress -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.