"while (true) { Notification.requestPermission(); }" freezes DevTools |
|||
Issue descriptionWhat steps will reproduce the problem? (1) Open DevTools' Console and make sure violations are hidden (2) Go to any page that triggers `Notification.requestPermission()` many times, e.g. http://jsfiddle.net/e47b395a/1/ What is the expected result? DevTools should not freeze. What happens instead? A large (1000+) number of violations will flood the Console with "Only request notification permission in response to a user gesture." messages, making DevTools unresponsive.
,
Jun 11 2018
@paul, this should address cases where thousands of browser messages are logged to the console.
,
Jun 11 2018
,
Jun 12 2018
this is great! nice one. |
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jun 11 2018