tor-browser

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

background-sync.idl (837B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Web Background Synchronization (https://wicg.github.io/background-sync/spec/)
      5 
      6 partial interface ServiceWorkerRegistration {
      7  readonly attribute SyncManager sync;
      8 };
      9 
     10 [Exposed=(Window,Worker)]
     11 interface SyncManager {
     12  Promise<undefined> register(DOMString tag);
     13  Promise<sequence<DOMString>> getTags();
     14 };
     15 
     16 partial interface ServiceWorkerGlobalScope {
     17  attribute EventHandler onsync;
     18 };
     19 
     20 [Exposed=ServiceWorker]
     21 interface SyncEvent : ExtendableEvent {
     22  constructor(DOMString type, SyncEventInit init);
     23  readonly attribute DOMString tag;
     24  readonly attribute boolean lastChance;
     25 };
     26 
     27 dictionary SyncEventInit : ExtendableEventInit {
     28  required DOMString tag;
     29  boolean lastChance = false;
     30 };