Files
tubestation/testing/web-platform/tests/interfaces/requestidlecallback.idl
moz-wptsync-bot 401bb9e0dd Bug 1664225 - [wpt-sync] Update web-platform-tests to 55e3f8d27d6be17fa75bebe426c39cc51b3b26d4, a=testonly, r=karlcow
A bug in the wptsync caused us to miss some pushes during recent
updates. This commit copies the head of wpt at the specified revision
over and re-applies local patches that weren't in that revision. That
means we should be able to resume normal syncs after fixing the bug.

wpt-head: 55e3f8d27d6be17fa75bebe426c39cc51b3b26d4
wpt-type: landing

Differential Revision: https://phabricator.services.mozilla.com/D90823
2020-09-21 12:53:13 +00:00

21 lines
677 B
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Cooperative Scheduling of Background Tasks (https://w3c.github.io/requestidlecallback/)
partial interface Window {
unsigned long requestIdleCallback(IdleRequestCallback callback, optional IdleRequestOptions options = {});
undefined cancelIdleCallback(unsigned long handle);
};
dictionary IdleRequestOptions {
unsigned long timeout;
};
[Exposed=Window] interface IdleDeadline {
DOMHighResTimeStamp timeRemaining();
readonly attribute boolean didTimeout;
};
callback IdleRequestCallback = undefined (IdleDeadline deadline);