preventDefault did not work fine in beforeunload
Reported by
xia.jaso...@gmail.com,
Jul 24
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 Steps to reproduce the problem: 1. Run `window.onbeforeunload = e => e.preventDefault()` in the console 2. Refresh current page What is the expected behavior? Prompt to block up the refreshing shows up What went wrong? No prompt show up Did this work before? N/A Does this work in other browsers? Yes Chrome version: 67.0.3396.99 Channel: stable OS Version: OS X 10.13.4 Flash Version:
,
Jul 25
,
Jul 25
,
Jul 25
Thanks for filing the issue! Able to reproduce the issue on reported chrome version 67.0.3396.99 and on the latest canary 70.0.3501.0 using Mac 10.13.1, Windows 10 and Ubuntu 14.04 As the issue is seen from M60(60.0.3112.0) considering it as Non-Regression and marking it as Untriaged.
,
Jul 30
,
Jul 30
,
Jul 30
I just bumped into this in my application a few days ago. I submitted a change list to support that, currently in review - https://crrev.com/c/1154225 |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by woxxom@gmail.com
, Jul 24