Closed
Bug 1081458
Opened 10 years ago
Closed 10 years ago
Unable to close tab or window when onbeforeunload tab-modal dialog cycling on document.location.href
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1046022
People
(Reporter: harrybugzilla, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140923175406 Steps to reproduce: Go to page: http://www.imagesnake.com/ad.html (An image host dumps you into this when you close another tab or window.) Try to close the window or tab. Actual results: Some other text momentarily appears offering you the choice of leaving or staying on the page. The text does not stay on screen long enough for you to make a choice. Expected results: The text should stay on screen and you should be able to click "leave" to close the tab or window.
Please, you should say when the link is NSFW. I don't care personally, but not necessarily the other people using Bugzilla. It's a side effect of: Tim Taubert — Bug 616853 - Make the beforeunload prompt tab-modal r=dao,bz Simple testcase: <script> var exit=true; window.onbeforeunload = function () { if (exit==true) { location.replace(document.location.href); return "Hello"; } } </script>
Blocks: 616853
Component: Untriaged → Tabbed Browser
Summary: unable to close window or tab → Unable to close tab with onbeforeunload tab-modal dialog cycling on document.location.href
Version: 32 Branch → 31 Branch
That's bad, I can't even close the browser because of tab cycling.
Summary: Unable to close tab with onbeforeunload tab-modal dialog cycling on document.location.href → Unable to close tab or window when onbeforeunload tab-modal dialog cycling on document.location.href
Comment 3•10 years ago
|
||
Is that the same as bug 1046022 which we fixed for Firefox 34?
Updated•10 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Weird, in general, I check alpha versions before running mozreg or searching a tescase, I forgot. Yes, it's fixed in FF34+.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(epinal99-bugzilla)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•