mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
This commit is contained in:
parent
4997ec26c2
commit
a5af9a106a
192 changed files with 3943 additions and 1927 deletions
|
@ -18,7 +18,7 @@ partial interface ServiceWorkerRegistration {
|
|||
interface BackgroundFetchManager {
|
||||
Promise<BackgroundFetchRegistration> fetch(DOMString id, (RequestInfo or sequence<RequestInfo>) requests, optional BackgroundFetchOptions options);
|
||||
Promise<BackgroundFetchRegistration?> get(DOMString id);
|
||||
Promise<FrozenArray<DOMString>> getIds();
|
||||
Promise<sequence<DOMString>> getIds();
|
||||
// TODO: in future this should become an async iterator for BackgroundFetchRegistration objects
|
||||
};
|
||||
|
||||
|
@ -50,15 +50,11 @@ interface BackgroundFetchRegistration : EventTarget {
|
|||
Promise<boolean> abort();
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface BackgroundFetchFetch {
|
||||
readonly attribute Request request;
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface BackgroundFetchActiveFetches {
|
||||
Promise<BackgroundFetchActiveFetch> match(RequestInfo request);
|
||||
Promise<FrozenArray<BackgroundFetchActiveFetch>> values();
|
||||
Promise<BackgroundFetchActiveFetch> match(RequestInfo request, optional CacheQueryOptions options);
|
||||
Promise<sequence<BackgroundFetchActiveFetch>> matchAll(RequestInfo request, optional CacheQueryOptions options);
|
||||
Promise<sequence<BackgroundFetchActiveFetch>> values();
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
|
@ -67,6 +63,11 @@ interface BackgroundFetchActiveFetch : BackgroundFetchFetch {
|
|||
// In future this will include a fetch observer
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface BackgroundFetchFetch {
|
||||
readonly attribute Request request;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, BackgroundFetchEventInit init), Exposed=ServiceWorker]
|
||||
interface BackgroundFetchEvent : ExtendableEvent {
|
||||
readonly attribute DOMString id;
|
||||
|
@ -87,8 +88,9 @@ dictionary BackgroundFetchSettledEventInit : BackgroundFetchEventInit {
|
|||
|
||||
[Exposed=ServiceWorker]
|
||||
interface BackgroundFetchSettledFetches {
|
||||
Promise<BackgroundFetchSettledFetch> match(RequestInfo request);
|
||||
Promise<FrozenArray<BackgroundFetchSettledFetch>> values();
|
||||
Promise<BackgroundFetchSettledFetch> match(RequestInfo request, optional CacheQueryOptions options);
|
||||
Promise<sequence<BackgroundFetchSettledFetch>> matchAll(RequestInfo request, optional CacheQueryOptions options);
|
||||
Promise<sequence<BackgroundFetchSettledFetch>> values();
|
||||
};
|
||||
|
||||
[Exposed=ServiceWorker]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue