Files
tubestation/testing/web-platform/tests/interfaces/background-sync.idl
autofoolip 63cccb8195 Bug 1697024 [wpt PR 27928] - Update interfaces/background-sync.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/background-sync.idl (#27928)

Source: https://github.com/w3c/webref/blob/538a4b5/ed/idl/background-sync.idl
Build: https://travis-ci.org/w3c/webref/builds/219282167
--

wpt-commits: bb50fa7c745474552163e2c21c970dcbb8c02d74
wpt-pr: 27928
2021-03-19 10:34:17 +00:00

31 lines
837 B
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Web Background Synchronization (https://wicg.github.io/background-sync/spec/)
partial interface ServiceWorkerRegistration {
readonly attribute SyncManager sync;
};
[Exposed=(Window,Worker)]
interface SyncManager {
Promise<undefined> register(DOMString tag);
Promise<sequence<DOMString>> getTags();
};
partial interface ServiceWorkerGlobalScope {
attribute EventHandler onsync;
};
[Exposed=ServiceWorker]
interface SyncEvent : ExtendableEvent {
constructor(DOMString type, SyncEventInit init);
readonly attribute DOMString tag;
readonly attribute boolean lastChance;
};
dictionary SyncEventInit : ExtendableEventInit {
required DOMString tag;
boolean lastChance = false;
};