mirror of
https://github.com/servo/servo.git
synced 2025-08-17 03:15:34 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
28
tests/wpt/web-platform-tests/interfaces/BackgroundSync.idl
Normal file
28
tests/wpt/web-platform-tests/interfaces/BackgroundSync.idl
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue