Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee

This commit is contained in:
WPT Sync Bot 2018-04-23 21:13:37 -04:00
parent c5f7c9ccf3
commit e891345f26
1328 changed files with 36632 additions and 20588 deletions

View file

@ -0,0 +1,28 @@
// 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;
};