New issue
Advanced search Search tips

Issue 816308 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

setInterval issue in mac when another application is made fullscreen

Reported by arumugam...@gmail.com, Feb 25 2018

Issue description

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

Steps to reproduce the problem:
1. Run a simple page with below javascript
setInterval(() => {
console.log(new Date())
}, 100)
2. Change another application (eg. Slack) to fullscreen mode
3. Observe the printed date

What is the expected behavior?
This should be printing the date object every 100 millisecond

What went wrong?
Initially it was printing the date every 100 milliseconds but after I made the slack fullscreen it started printing the date every 1000 milliseconds

Did this work before? N/A 

Chrome version: 64  Channel: stable
OS Version: 10.13.2
Flash Version:
 
chrome-setinterval-mac-issue.png
106 KB View Download
Labels: Needs-Triage-M64

Comment 2 by kojii@chromium.org, Feb 26 2018

Components: -Blink Blink>Scheduling
Is this more about Chrome or V8?
I initially found this issue when I was working on developing a app with Electron where this issue occurred. So I would say its about V8.
Cc: fdoray@chromium.org
Status: WontFix (was: Unconfirmed)
In this case it sounds like the Chrome window is fully covered by Slack? If that's the case, then Chrome will start automatically throttling tasks in the obscured window to save power. It sounds like this is working as intended.

Sign in to add a comment