Defect - Creating a prompt in an onbeforeunload handler causes no prompt to be displayed and tab becomes unresponsive

RESOLVED FIXED in Firefox 27

Status

RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: TimAbraldes, Assigned: TimAbraldes)

Tracking

unspecified
Firefox 27
All
Windows 8.1
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [preview])

Attachments

(1 attachment)

Created attachment 788370 [details]
test page

STR:
  1. Open the attached test page
  2. Attempt to close the attached test page

Expected result:
  A message saying "Alert during confirmExit!" should appear, and when that is dismissed the "stay on page" prompt should appear.

Actual result:
  An error sound plays, no prompt appears, and the tab becomes unresponsive
It shouldn't be possible to create an alert/prompt/confirm from a beforeunload handler at all - bug 856977.

When we fix that issue, we have a chance of fixing this bug.
Depends on: 856977
Assigning myself since this should be fixed by the patch in bug 856977
Assignee: nobody → tabraldes
Status: NEW → ASSIGNED
Whiteboard: [preview]
This is fixed now that bug 856977 has landed. Tested with latest m-c.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.