Closed Bug 133904 Opened 22 years ago Closed 22 years ago

javascript window.close closes non-scripted windows/tabs without confirmation

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 32571

People

(Reporter: sinchi, Assigned: rogerl)

Details

This isn't a duplicate of #103452, although both one are narrowly interconnected.

If non-scripted window/tab has been closed by javascript, user loses history of
this window, where could be present important information.

Windows/tabs opened by user, not via javascript, should'nt be closed whithout
user's consent. Both NS4 and MSIE require confirmation, and I would Mozilla to
have same behavior.

I think, if true patching for this bug is difficult, requiring confirmation to
close scripted window is lesser of two evils in comparison with closing
non-scripted window without consent.
Dupe of bug 32571?
Yep. Requests about confirmation before closing the window are duped to that bug.

*** This bug has been marked as a duplicate of 30571 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Oops! wrong bug! Reopening.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Really duping, sorry for that.

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

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