Closed Bug 870755 Opened 11 years ago Closed 11 years ago

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

Categories

(Firefox :: Untriaged, defect)

20 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 636374

People

(Reporter: emrekabakci, Unassigned)

Details

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.
Thanks for the report.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.