New issue
Advanced search Search tips

Issue 910960 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Browser freezes on Request Permission tight loop

Reported by h...@pbrfrat.com, Dec 2

Issue description

UserAgent: 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.
 
Labels: Needs-Triage-M70
Cc: phanindra.mandapaka@chromium.org
Components: -Blink UI>Browser
Labels: Triaged-ET Target-73 M-73 FoundIn-71 FoundIn-70 FoundIn-73 FoundIn-72 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
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