Closed Bug 895492 Opened 12 years ago Closed 11 years ago

While an onbeforeunload prompt is active, if another tab shows a prompt, the onbeforeunload prompt should work as expected

Categories

(Firefox :: Tabbed Browser, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 31

People

(Reporter: TimAbraldes, Assigned: ttaubert)

References

Details

Attachments

(2 files)

Attached file test-page-1.html
STR: 1. Open attachment test-page-1.html in a new tab. This page shows a prompt every 5s. Dismiss the initial one and do the remaining steps before another one appears. 2. Open attachment test-page-2.html in a new tab 3. Attempt to close the tab with test-page-2.html loaded. This will cause the onbeforeunload prompt to appear. Do not select either of the options. 4. Wait until test-page-1.html shows a prompt. This will cause the active tab to change. 5. Select "Leave Page" At this point, one would expect the "Leave Page" button to cause the tab with test-page-2.html to close. However, it does not.
Confirmed STR with Nightly 29.0a1 (2014-01-31).
… and I cannot close the tab with test-page-2.html ATM, looks like it's waiting for a message from the prompt (tough it was already closed some time ago).
Depends on: 616853
Now that bug 616853 is resolved, this should no longer be an issue.
(In reply to Tim Abraldes [:TimAbraldes] [:tabraldes] (Unavailable; returning Tuesday, April 29th) from comment #4) > Now that bug 616853 is resolved, this should no longer be an issue. Is this sufficient to close this bug?
I just went through the STR. The original bug is gone, but now following the STR causes the second tab (the test-page-2 tab) to fail to show a beforeunload prompt the second time you try to close it. Closing this bug and filing the updated issue as bug 1003476
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee: nobody → ttaubert
Target Milestone: --- → Firefox 31
I've tried the original scenario using Firefox 31 Beta 2 build (BuildID: 20140616143923) on Win 7 x64 (User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0). I get the same results as reported in comment 6.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: