Visitors are trapped in webpage when onbeforeunload event is attached unlimited iframes

RESOLVED DUPLICATE of bug 636374

Status

()

Firefox
Untriaged
RESOLVED DUPLICATE of bug 636374
4 years ago
3 years ago

People

(Reporter: emrekabakci, Unassigned)

Tracking

20 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.81 Safari/537.36

Steps to reproduce:

1. created a few iframes
2. attached each of them onbeforeunload event
3. waited for user to exit the page



Actual results:

Users are trapped in the web page.


Expected results:

There should be a limit of onbeforeunload event callback for outer window or the browser should prevent onbeforeunload event to attach an iframe's window.

Comment 1

4 years ago
Thanks for the report.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 636374
You need to log in before you can comment on or make changes to this bug.