Closed Bug 140386 Opened 22 years ago Closed 22 years ago

JavaScript closewindow closes window !!!

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows NT
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 103452

People

(Reporter: ajaygautam, Assigned: joki)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.9+) Gecko/20020418
BuildID:    2002041803

The logoff button at my bank's website closes the browser window, which closes
all the tabs with it.

While I don't mind my bank's logoff attempting to close the window, I would
expect mozilla to handle the close event is a way that it closes only the tab,
in which it is open.

I went thru various options in preferences, but was not able to find anything.

Would highly appreciate a solution.

Thanks

Ajay Gautam

Reproducible: Always
Steps to Reproduce:
1. Open a few tabs
2. Go to the website mentioned about
3. Click on "Click here to close window"

Actual Results:  The window closes :(

Expected Results:  Only the tab containing the page should close.

If there is only one tab, the window close is ok :)

Mozilla 0.9.9+
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.9+) Gecko/20020418
It also crashed mozilla once.

Ajay

*** This bug has been marked as a duplicate of 103452 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.