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:
,
Feb 26 2018
Is this more about Chrome or V8?
,
Feb 26 2018
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.
,
Feb 27 2018
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 |
|||
Comment 1 by krajshree@chromium.org
, Feb 26 2018