New issue
Advanced search Search tips

Issue 822269 link

Starred by 6 users

Issue metadata

Status: Duplicate
Merged: issue 811451
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug

Blocked on:
issue 780102



Sign in to add a comment

requestIdleCallback not called while user scrolls with trackpad/mousewheel (Regression)

Reported by a...@boffinhouse.com, Mar 15 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 OPR/51.0.2830.55

Steps to reproduce the problem:
1. open page: https://jsfiddle.net/zjzm75qL/28/
2. go to the result window and scroll the page up and down using the Trackpad or Mousewheel

What is the expected behavior?
The dashes behind the text "updating" should constantly update.

What went wrong?
The dashes do not change while scrolling.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 64.0.3282.186  Channel: n/a
OS Version: OS X 10.13.3
Flash Version: Shockwave Flash 28.0 r0

While it is expected that the dashes might update less often while scrolling, it doesn't make sense, that there is absolutely no idle time left while scrolling a simple page. The behavior of the requestIdleCallback API regressed in this way about a half year ago. (First seen around october 2017 maybe older. It was totally different january 2017. Firefox does not have this bug.)

The following bug might be related:
https://bugs.chromium.org/p/chromium/issues/detail?id=811451&q=requestIdleCallback&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified

There are some bigger projects that suffer from this bug. See also:
https://github.com/necolas/react-native-web/issues/759
https://github.com/aFarkas/lazysizes/issues/434
 
Labels: Needs-Triage-M64
This bug is also present if you include a YouTube video via the API. One of the attached scripts has it. I can't tell what the script does, just that the API loads it after base.js.

https://www.google.com/js/bg/lSvH2GMDHdWiQ5txKk8DBwe8KHVpOosizyQXSe1BYYE.js
Status: Available (was: Unconfirmed)
Thanks for the repro case! We'll take a look.
Labels: -Pri-2 Pri-1
Cc: susan.boorgula@chromium.org
Labels: Triaged-ET M-67 Target-67 FoundIn-67 OS-Linux OS-Windows
alex@ Thanks for the issue.

Able to reproduce the issue on Windows 10, Mac OS 10.12.6 and Ubuntu 14.04 on the latest Canary 67.0.3378.0 and Stable 65.0.3325.162 by following the steps given above.
On scrolling through the dashes in the given JSFiddle, can observe that the dashes are paused and then started after few seconds.

This is a Non-Regression issue as this behavior is observed from M60 Chrome builds.

Thanks..
822269.mp4
849 KB View Download
Blockedon: 780102
Mergedinto: 811451
Status: Duplicate (was: Available)
After this bug was merged into 811451 the other issue (811451) was closed because the provided test case did not always reproduce the issue. However the provided test case in this issue still makes the issue reproducible. Please re-open one of these test cases and fix it. 

Sign in to add a comment