Disallow calling window.close from onbeforeunload

NEW
Unassigned

Status

()

4 years ago
4 years ago

People

(Reporter: Gijs, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox41 affected)

Details

(Reporter)

Description

4 years ago
Chrome seems to already do this, IE asks the user. Without doing this, you get odd cases where if window.open or clicking a _blank link opens a new tab, the page in that tab can nuke the tab for you if you try to navigate it elsewhere. That seems wrong.
Please raise a spec issue?
You need to log in before you can comment on or make changes to this bug.