Open Bug 1163631 Opened 9 years ago Updated 2 years ago

Disallow calling window.close from onbeforeunload

Categories

(Core :: DOM: Navigation, task)

task

Tracking

()

Tracking Status
firefox41 --- affected

People

(Reporter: Gijs, Unassigned)

References

Details

(Keywords: site-compat)

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?
Type: defect → task
Keywords: site-compat
Type: task → defect
Type: defect → task
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.