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 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform