Closed Bug 903613 Opened 11 years ago Closed 11 years ago

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

Categories

(Firefox for Metro Graveyard :: Browser, defect)

All
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 27

People

(Reporter: TimAbraldes, Assigned: TimAbraldes)

References

Details

(Whiteboard: [preview])

Attachments

(1 file)

Attached file 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
Closed: 11 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.

Attachment

General

Created:
Updated:
Size: