tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

requestidlecallback.idl (656B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: requestIdleCallback() (https://w3c.github.io/requestidlecallback/)
      5 
      6 partial interface Window {
      7  unsigned long requestIdleCallback(IdleRequestCallback callback, optional IdleRequestOptions options = {});
      8  undefined cancelIdleCallback(unsigned long handle);
      9 };
     10 
     11 dictionary IdleRequestOptions {
     12  unsigned long timeout;
     13 };
     14 
     15 [Exposed=Window] interface IdleDeadline {
     16  DOMHighResTimeStamp timeRemaining();
     17  readonly attribute boolean didTimeout;
     18 };
     19 
     20 callback IdleRequestCallback = undefined (IdleDeadline deadline);