Browser freezes on Request Permission tight loop
Reported by
h...@pbrfrat.com,
Dec 2
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 Steps to reproduce the problem: I made a github repo that demonstrates the problem: https://github.com/hef/freeze-on-notification-repro The javascript boils down to this: while(true) { window.Notification.requestPermission(); } At this point, chrome just freezes. To be clear, it's not just the one tab that freezes, but the entire application. What is the expected behavior? at worst, the page should hang, and not the entire application. I'm guessing at best, the javascript should maybe be detected as an unresponsive script after some amount of time What went wrong? Chrome freezes, requiring a force quit. Did this work before? No Chrome version: 70.0.3538.110 Channel: stable OS Version: OS X 10.14.1 Flash Version: You might get prompted to "allow notifications" the first time you visit, and you might have to pick an option for bug to occur.
,
Dec 3
Able to reproduce the issue on reported chrome version 70.0.3538.110 also on latest chrome 73.0.3629.0 using Mac 10.14.0, Ubuntu 17.10 and Windows 10. Same behavior is seen on M60(60.0.3112.113) hence considering it as non-regression and marking it as Untriaged. Thanks! |
||
►
Sign in to add a comment |
||
Comment 1 by swarnasree.mukkala@chromium.org
, Dec 3