New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 605705 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

Infinite loop freezes entire tab and prevents closing it.

Reported by ianmo...@greenms.com, Apr 21 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36

Steps to reproduce the problem:
1. Open Javascript console
2. Type in (or something similar may work):
   while(true){
	document.body.style.backgroundColor = "black";
	document.body.style.backgroundColor = "white";
   }
3. Run

What is the expected behavior?

What went wrong?
The entire tab became no longer responsive and refuses to be closed even when in a separate window and the window itself is asked to be closed. Only option is to force stop with task manager.

Did this work before? N/A 

Chrome version: 50.0.2661.75  Channel: beta
OS Version: 10.0
Flash Version: Shockwave Flash 21.0 r0
 

Comment 1 by jianli@chromium.org, Apr 22 2016

Components: -Blink Blink>Paint
On Linux, "kill Tab" will appear after some time.
Components: -Blink>Paint Blink>JavaScript Blink>Scheduling Blink>CSS
I don't think this is in any way paint related. Presumable we don't even get to painting anything if the tab is frozen. Maybe this is WontFix, but adding labels in case we expect to behave differently.

Maybe it's a Win 10 issue only.
Cc: rsch...@chromium.org
Components: -Blink>JavaScript
Another report about this.

Side note: not V8 related
Components: -Blink>CSS
Labels: OS-Linux
Can repro on Linux.

CSS is not required to cause the tab to get into a non-closable state, "while (true);" is sufficient.
Project Member

Comment 5 by sheriffbot@chromium.org, Apr 26 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment