window.unbeforeunload event is not triggered consistently when manually changing url in address bar
Reported by
aash...@gmail.com,
Jun 22 2016
|
||||
Issue description
Chrome Version : Version 51.0.2704.103 (64-bit)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
Safari:
Firefox:
IE:
What steps will reproduce the problem?
(1) Go to the following fiddle: https://jsfiddle.net/ncy2mzs5/1/
(2) Type "cnn.com" in the address bar and hit Enter
(3) Note that the onbeforeunload event is occasionally not triggered
What is the expected result? onbeforeunload event should be triggered
What happens instead?
Please provide any additional information below. Attach a screenshot if
possible.
,
Jun 23 2016
I tested on Windows and was unable to reproduce the problem. I'm working on a Mac with the following specs: OS X: Yosemite (10.10.5) Chrome: Version 51.0.2704.103 (64-bit) Here's something odd I found. If I type in "cnn.com" in the address bar, the onbeforeunload event is not detected. If I type "www.cnn.com" the event is always triggered. Thank you for the help.
,
Jun 23 2016
I forgot to mention, I can replicate the issue in an Incognito Window.
,
Jun 24 2016
Thank you for providing more feedback. Adding requester "brajkumar@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 29 2016
No luck, Followed the same steps still unable to reproduce the issue on Mac OS 10.11.5 as well using chrome latest stable 51.0.2704.106. Could you please upgrade your browser to chrome latest stable and recheck for it. In case if issue is still seen please check the same on chrome latest canary as well and let us know the issue still persists or not. https://www.chromium.org/getting-involved/dev-channel
,
Jul 28 2016
Due to lack of user response we are closing the issue. Please feel free to file anew issue if you still encounter this issue from your end. |
||||
►
Sign in to add a comment |
||||
Comment 1 by brajkumar@chromium.org
, Jun 23 2016Labels: Needs-Feedback
58.6 KB
58.6 KB View Download