New issue
Advanced search Search tips

Issue 735019 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

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>
 

Comment 1 by a...@evosite.co.uk, Jun 20 2017

I should have mentioned, we've tested and can confirm this is present in Canary, Beta and Stable channels at present (all on Windows environments - Win7, 8 & 10).

Comment 2 by ajha@chromium.org, Jun 21 2017

Cc: ajha@chromium.org
Components: -Blink Blink>WindowDialog
Labels: M-61 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
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.
735019.html
162 bytes View Download

Comment 3 by a...@chromium.org, Jun 27 2017

Labels: alert-activation
Status: WontFix (was: Untriaged)
You can close the tab on the page to address this.

Comment 4 by a...@evosite.co.uk, 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. 

Comment 5 by a...@chromium.org, 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.

Comment 6 by a...@chromium.org, Jun 27 2017

Cc: a...@chromium.org

Sign in to add a comment