Open Bug 1003476 Opened 10 years ago Updated 4 years ago

If a beforeunload prompt on tab A is interrupted by a prompt on tab B, the beforeunload handler on tab A fails to run again

Categories

(Core :: DOM: Events, defect, P5)

defect

Tracking

()

People

(Reporter: TimAbraldes, Unassigned)

References

Details

Attachments

(2 files)

Attached file alertEvery7s.html
STR:
  1. Open attachment beforeunload.html
  2. Open attachment alertEvery7s.html in a new tab
  3. Before the alert displays, attempt to close the tab showing beforeunload.html. You should see a beforeunload dialog. Do not choose either of the options.
  4. Wait for the alert to display
  5. Attempt to close the tab showing beforeunload.html

Expected results:
  Attempting to close the beforeunload tab should show a beforeunload prompt.

Actual results:
  The tab fails to show a beforeunload prompt if the first prompt was dismissed due to an alert displaying on another tab.
Component: General → DOM: Events
Product: Firefox → Core

Bulk-downgrade of unassigned, 4 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: