https://github.com/web-platform-tests/wpt
Raw File
Tip revision: fced01876b48e034b64d9dad6de14d1bdeba3cc0 authored by Daniel Cheng on 12 April 2018, 12:08:45 UTC
Return null from contentDocument/getSVGDocument() for cross-origin documents.
Tip revision: fced018
BackgroundSync.idl
// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the Web Background Synchronization spec.
// See https://wicg.github.io/BackgroundSync/spec/

partial interface ServiceWorkerRegistration {
  readonly attribute SyncManager sync;
};

[Exposed=(Window,Worker)]
interface SyncManager {
  Promise<void> register(DOMString tag);
  Promise<sequence<DOMString>> getTags();
};

partial interface ServiceWorkerGlobalScope {
  attribute EventHandler onsync;
};

[Constructor(DOMString type, SyncEventInit init), Exposed=ServiceWorker]
interface SyncEvent : ExtendableEvent {
  readonly attribute DOMString tag;
  readonly attribute boolean lastChance;
};

dictionary SyncEventInit : ExtendableEventInit {
  required DOMString tag;
  boolean lastChance = false;
};
back to top