Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to Implement: requestIdleCallback

42 views
Skip to first unread message

Andreas Farre

unread,
Apr 19, 2016, 12:26:18 PM4/19/16
to dev-pl...@lists.mozilla.org
Summary:
Add an API on Window for requesting a callback when the user agent is
idle.

With requestIdleCallback web developers will be able to schedule
background computation tasks on the event loop that has a better
chance of not interfering with other more time-critical operations.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1198381

Link to standard: https://w3c.github.io/requestidlecallback/

Platform coverage: Android, Desktop

Estimated or target release: Firefox 50

Preference behind which this will be implemented:
dom.requestIdleCallback.enabled

Do other browser engines implement this:
* Blink: shipped since Chrome 47[1]
* Edge: no, but publicly supported[2]

[1]
https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
[2] https://www.chromestatus.com/feature/5572795866021888
0 new messages