https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 3dadc0c18b5224dae634f59f54f6025cc9cdc17e authored by PhistucK on 03 November 2018, 12:16:45 UTC
HTML/events/beforeunload - respect preventDefault().
Tip revision: 3dadc0c
BackgroundSync.idl
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: Web Background Synchronization (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