setInterval(..., 0) is not clamped, unlike setTimeout(..., 0)
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: mstange, Assigned: smaug)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: parity-chrome, perf:responsiveness, regression)
Attachments
(2 files)
In this testcase, Firefox reports one call every 0.009ms, and Chrome reports one call every ~4ms.
This is causing excess resource usage on misbehaving websites such as https://www.gamesradar.com/ .
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
I'm not sure where that See also fits in, the behavior is occuring only in the active tab?
Comment 2•4 years ago
|
||
(In reply to Danial Horton from comment #1)
I'm not sure where that See also fits in, the behavior is occuring only in the active tab?
The ticket linked under "See Also"? It's also about throttling of the same method, therefore it could be relevant.
Comment 3•4 years ago
|
||
Some of these sites along with the quantcast script that causes this, are also loading a widget that also causes it, from https://widgets.future-fie.co.uk/
Comment 4•4 years ago
|
||
Note that on https://www.gamesradar.com/
and others, the offending setInterval()
calls look like:
setInterval("function() { [native code] }", NaN);
Reporter | ||
Comment 5•4 years ago
|
||
Reporter | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
hmm, I lost the link to my tryserver push.
Doing it again: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d2573cf95c064aefc6015a735fd41425266d93f
And apparently I had left a tiny bug in the test.
Comment 9•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Description
•