Ability to lock up Chrome with infinite alert()s
Reported by
a...@evosite.co.uk,
Jun 20 2017
|
||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3133.0 Safari/537.36
Steps to reproduce the problem:
1. Using the below supplied JS which binds to window.blur if you loose focus on the tab, or follow any link that opens a new tab/window, you'll get stuck in a recursion of alert()s
2. Create an empty HTML page with just the below HTML, click the link, change tabs, open a new tab, click into another window...
3. Now you're stuck and either need to Ctrl+W, Alt+F4 or launch task manager to get out!
Example code (simplified):
<a href="#" target="_blank">Click me</a><script>window.onblur=function(){alert('Now you\'re stuck!');}</script>
What is the expected behavior?
See the prevent duplicate checkbox within the alert dialogue which would suppress the subsequent events form firing.
What went wrong?
Stuck in an infinite loop of alert()s completely locking up all tabs within the Chrome window.
Did this work before? N/A
Chrome version: 61.0.3133.0 Channel: canary
OS Version: 10.0
Flash Version:
Test code:
<a href="#" target="_blank">Click me</a><script>window.onblur=function(){alert('Now you\'re stuck!');}</script>
,
Jun 21 2017
Able to reproduce the issue on the latest canary(61.0.3137.0) on Windows-10, mac OS 10.12.5 and Linux Ubuntu 14.04. This is non regression issue as seen similar behavior on older chrome version: 30.0.1549.0. Marking this as Untriaged for more inputs on this.
,
Jun 27 2017
You can close the tab on the page to address this.
,
Jun 27 2017
Once the alert loop has begun, you're not able to close a tab via the UI anymore though. Ctrl+W still works, but the normal tab X icon isn't accessible.
,
Jun 27 2017
I can't reproduce this. The alert loop running in a tab, and I am able to click the (X) to close the tab. I tried reproing on 61.0.3135.4 on both Mac and Win and was able to close the tab with the mouse. Please provide details as to how I can reproduce the behavior you see.
,
Jun 27 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by a...@evosite.co.uk
, Jun 20 2017