diff options
author | Satya Rohith <me@satyarohith.com> | 2022-09-28 17:41:12 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 17:41:12 +0530 |
commit | b312279e58e51520a38e51cca317a09cdadd7cb4 (patch) | |
tree | a0c6f432042ba25b569c151bbe59f1e721788d0c /tools | |
parent | 1156f726a92d3d3985e591327c7526cd3e2b0473 (diff) |
feat: implement Web Cache API (#15829)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wpt/expectation.json | 268 |
1 files changed, 268 insertions, 0 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index b5df6cacf..59688934f 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -4642,5 +4642,273 @@ "idlharness.https.any.html": true, "idlharness.https.any.worker.html": true, "idlharness-shadowrealm.window.html": false + }, + "service-workers": { + "idlharness.https.any.html": [ + "ServiceWorker interface: existence and properties of interface object", + "ServiceWorker interface object length", + "ServiceWorker interface object name", + "ServiceWorker interface: existence and properties of interface prototype object", + "ServiceWorker interface: existence and properties of interface prototype object's \"constructor\" property", + "ServiceWorker interface: existence and properties of interface prototype object's @@unscopables property", + "ServiceWorker interface: attribute scriptURL", + "ServiceWorker interface: attribute state", + "ServiceWorker interface: operation postMessage(any, sequence<object>)", + "ServiceWorker interface: operation postMessage(any, optional StructuredSerializeOptions)", + "ServiceWorker interface: attribute onstatechange", + "ServiceWorker must be primary interface of registrationInstance.installing", + "Stringification of registrationInstance.installing", + "ServiceWorker interface: registrationInstance.installing must inherit property \"scriptURL\" with the proper type", + "ServiceWorker interface: registrationInstance.installing must inherit property \"state\" with the proper type", + "ServiceWorker interface: registrationInstance.installing must inherit property \"postMessage(any, sequence<object>)\" with the proper type", + "ServiceWorker interface: calling postMessage(any, sequence<object>) on registrationInstance.installing with too few arguments must throw TypeError", + "ServiceWorker interface: registrationInstance.installing must inherit property \"postMessage(any, optional StructuredSerializeOptions)\" with the proper type", + "ServiceWorker interface: calling postMessage(any, optional StructuredSerializeOptions) on registrationInstance.installing with too few arguments must throw TypeError", + "ServiceWorker interface: registrationInstance.installing must inherit property \"onstatechange\" with the proper type", + "ServiceWorkerRegistration interface: existence and properties of interface object", + "ServiceWorkerRegistration interface object length", + "ServiceWorkerRegistration interface object name", + "ServiceWorkerRegistration interface: existence and properties of interface prototype object", + "ServiceWorkerRegistration interface: existence and properties of interface prototype object's \"constructor\" property", + "ServiceWorkerRegistration interface: existence and properties of interface prototype object's @@unscopables property", + "ServiceWorkerRegistration interface: attribute installing", + "ServiceWorkerRegistration interface: attribute waiting", + "ServiceWorkerRegistration interface: attribute active", + "ServiceWorkerRegistration interface: attribute navigationPreload", + "ServiceWorkerRegistration interface: attribute scope", + "ServiceWorkerRegistration interface: attribute updateViaCache", + "ServiceWorkerRegistration interface: operation update()", + "ServiceWorkerRegistration interface: operation unregister()", + "ServiceWorkerRegistration interface: attribute onupdatefound", + "ServiceWorkerRegistration must be primary interface of registrationInstance", + "Stringification of registrationInstance", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"installing\" with the proper type", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"waiting\" with the proper type", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"active\" with the proper type", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"navigationPreload\" with the proper type", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"scope\" with the proper type", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"updateViaCache\" with the proper type", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"update()\" with the proper type", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"unregister()\" with the proper type", + "ServiceWorkerRegistration interface: registrationInstance must inherit property \"onupdatefound\" with the proper type", + "ServiceWorkerContainer interface: existence and properties of interface object", + "ServiceWorkerContainer interface object length", + "ServiceWorkerContainer interface object name", + "ServiceWorkerContainer interface: existence and properties of interface prototype object", + "ServiceWorkerContainer interface: existence and properties of interface prototype object's \"constructor\" property", + "ServiceWorkerContainer interface: existence and properties of interface prototype object's @@unscopables property", + "ServiceWorkerContainer interface: attribute controller", + "ServiceWorkerContainer interface: attribute ready", + "ServiceWorkerContainer interface: operation register(USVString, optional RegistrationOptions)", + "ServiceWorkerContainer interface: operation getRegistration(optional USVString)", + "ServiceWorkerContainer interface: operation getRegistrations()", + "ServiceWorkerContainer interface: operation startMessages()", + "ServiceWorkerContainer interface: attribute oncontrollerchange", + "ServiceWorkerContainer interface: attribute onmessage", + "ServiceWorkerContainer interface: attribute onmessageerror", + "ServiceWorkerContainer must be primary interface of navigator.serviceWorker", + "Stringification of navigator.serviceWorker", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"controller\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"ready\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"register(USVString, optional RegistrationOptions)\" with the proper type", + "ServiceWorkerContainer interface: calling register(USVString, optional RegistrationOptions) on navigator.serviceWorker with too few arguments must throw TypeError", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"getRegistration(optional USVString)\" with the proper type", + "ServiceWorkerContainer interface: calling getRegistration(optional USVString) on navigator.serviceWorker with too few arguments must throw TypeError", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"getRegistrations()\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"startMessages()\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"oncontrollerchange\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"onmessage\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"onmessageerror\" with the proper type", + "NavigationPreloadManager interface: existence and properties of interface object", + "NavigationPreloadManager interface object length", + "NavigationPreloadManager interface object name", + "NavigationPreloadManager interface: existence and properties of interface prototype object", + "NavigationPreloadManager interface: existence and properties of interface prototype object's \"constructor\" property", + "NavigationPreloadManager interface: existence and properties of interface prototype object's @@unscopables property", + "NavigationPreloadManager interface: operation enable()", + "NavigationPreloadManager interface: operation disable()", + "NavigationPreloadManager interface: operation setHeaderValue(ByteString)", + "NavigationPreloadManager interface: operation getState()", + "Cache interface: existence and properties of interface object", + "Cache interface object length", + "Cache interface: operation match(RequestInfo, optional CacheQueryOptions)", + "Cache interface: operation matchAll(optional RequestInfo, optional CacheQueryOptions)", + "Cache interface: operation add(RequestInfo)", + "Cache interface: operation addAll(sequence<RequestInfo>)", + "Cache interface: operation delete(RequestInfo, optional CacheQueryOptions)", + "Cache interface: operation keys(optional RequestInfo, optional CacheQueryOptions)", + "Cache interface: self.cacheInstance must inherit property \"matchAll(optional RequestInfo, optional CacheQueryOptions)\" with the proper type", + "Cache interface: calling matchAll(optional RequestInfo, optional CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError", + "Cache interface: self.cacheInstance must inherit property \"add(RequestInfo)\" with the proper type", + "Cache interface: calling add(RequestInfo) on self.cacheInstance with too few arguments must throw TypeError", + "Cache interface: self.cacheInstance must inherit property \"addAll(sequence<RequestInfo>)\" with the proper type", + "Cache interface: calling addAll(sequence<RequestInfo>) on self.cacheInstance with too few arguments must throw TypeError", + "Cache interface: self.cacheInstance must inherit property \"keys(optional RequestInfo, optional CacheQueryOptions)\" with the proper type", + "Cache interface: calling keys(optional RequestInfo, optional CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError", + "CacheStorage interface: operation match(RequestInfo, optional MultiCacheQueryOptions)", + "CacheStorage interface: operation keys()", + "CacheStorage interface: caches must inherit property \"match(RequestInfo, optional MultiCacheQueryOptions)\" with the proper type", + "CacheStorage interface: calling match(RequestInfo, optional MultiCacheQueryOptions) on caches with too few arguments must throw TypeError", + "CacheStorage interface: caches must inherit property \"keys()\" with the proper type", + "Window interface: attribute caches", + "Navigator interface: attribute serviceWorker", + "idl_test setup" + ], + "idlharness.https.any.worker.html": [ + "ServiceWorker interface: existence and properties of interface object", + "ServiceWorker interface object length", + "ServiceWorker interface object name", + "ServiceWorker interface: existence and properties of interface prototype object", + "ServiceWorker interface: existence and properties of interface prototype object's \"constructor\" property", + "ServiceWorker interface: existence and properties of interface prototype object's @@unscopables property", + "ServiceWorker interface: attribute scriptURL", + "ServiceWorker interface: attribute state", + "ServiceWorker interface: operation postMessage(any, sequence<object>)", + "ServiceWorker interface: operation postMessage(any, optional StructuredSerializeOptions)", + "ServiceWorker interface: attribute onstatechange", + "ServiceWorkerRegistration interface: existence and properties of interface object", + "ServiceWorkerRegistration interface object length", + "ServiceWorkerRegistration interface object name", + "ServiceWorkerRegistration interface: existence and properties of interface prototype object", + "ServiceWorkerRegistration interface: existence and properties of interface prototype object's \"constructor\" property", + "ServiceWorkerRegistration interface: existence and properties of interface prototype object's @@unscopables property", + "ServiceWorkerRegistration interface: attribute installing", + "ServiceWorkerRegistration interface: attribute waiting", + "ServiceWorkerRegistration interface: attribute active", + "ServiceWorkerRegistration interface: attribute navigationPreload", + "ServiceWorkerRegistration interface: attribute scope", + "ServiceWorkerRegistration interface: attribute updateViaCache", + "ServiceWorkerRegistration interface: operation update()", + "ServiceWorkerRegistration interface: operation unregister()", + "ServiceWorkerRegistration interface: attribute onupdatefound", + "ServiceWorkerContainer interface: existence and properties of interface object", + "ServiceWorkerContainer interface object length", + "ServiceWorkerContainer interface object name", + "ServiceWorkerContainer interface: existence and properties of interface prototype object", + "ServiceWorkerContainer interface: existence and properties of interface prototype object's \"constructor\" property", + "ServiceWorkerContainer interface: existence and properties of interface prototype object's @@unscopables property", + "ServiceWorkerContainer interface: attribute controller", + "ServiceWorkerContainer interface: attribute ready", + "ServiceWorkerContainer interface: operation register(USVString, optional RegistrationOptions)", + "ServiceWorkerContainer interface: operation getRegistration(optional USVString)", + "ServiceWorkerContainer interface: operation getRegistrations()", + "ServiceWorkerContainer interface: operation startMessages()", + "ServiceWorkerContainer interface: attribute oncontrollerchange", + "ServiceWorkerContainer interface: attribute onmessage", + "ServiceWorkerContainer interface: attribute onmessageerror", + "ServiceWorkerContainer must be primary interface of navigator.serviceWorker", + "Stringification of navigator.serviceWorker", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"controller\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"ready\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"register(USVString, optional RegistrationOptions)\" with the proper type", + "ServiceWorkerContainer interface: calling register(USVString, optional RegistrationOptions) on navigator.serviceWorker with too few arguments must throw TypeError", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"getRegistration(optional USVString)\" with the proper type", + "ServiceWorkerContainer interface: calling getRegistration(optional USVString) on navigator.serviceWorker with too few arguments must throw TypeError", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"getRegistrations()\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"startMessages()\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"oncontrollerchange\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"onmessage\" with the proper type", + "ServiceWorkerContainer interface: navigator.serviceWorker must inherit property \"onmessageerror\" with the proper type", + "NavigationPreloadManager interface: existence and properties of interface object", + "NavigationPreloadManager interface object length", + "NavigationPreloadManager interface object name", + "NavigationPreloadManager interface: existence and properties of interface prototype object", + "NavigationPreloadManager interface: existence and properties of interface prototype object's \"constructor\" property", + "NavigationPreloadManager interface: existence and properties of interface prototype object's @@unscopables property", + "NavigationPreloadManager interface: operation enable()", + "NavigationPreloadManager interface: operation disable()", + "NavigationPreloadManager interface: operation setHeaderValue(ByteString)", + "NavigationPreloadManager interface: operation getState()", + "Cache interface: existence and properties of interface object", + "Cache interface object length", + "Cache interface: operation match(RequestInfo, optional CacheQueryOptions)", + "Cache interface: operation matchAll(optional RequestInfo, optional CacheQueryOptions)", + "Cache interface: operation add(RequestInfo)", + "Cache interface: operation addAll(sequence<RequestInfo>)", + "Cache interface: operation delete(RequestInfo, optional CacheQueryOptions)", + "Cache interface: operation keys(optional RequestInfo, optional CacheQueryOptions)", + "Cache interface: self.cacheInstance must inherit property \"matchAll(optional RequestInfo, optional CacheQueryOptions)\" with the proper type", + "Cache interface: calling matchAll(optional RequestInfo, optional CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError", + "Cache interface: self.cacheInstance must inherit property \"add(RequestInfo)\" with the proper type", + "Cache interface: calling add(RequestInfo) on self.cacheInstance with too few arguments must throw TypeError", + "Cache interface: self.cacheInstance must inherit property \"addAll(sequence<RequestInfo>)\" with the proper type", + "Cache interface: calling addAll(sequence<RequestInfo>) on self.cacheInstance with too few arguments must throw TypeError", + "Cache interface: self.cacheInstance must inherit property \"keys(optional RequestInfo, optional CacheQueryOptions)\" with the proper type", + "Cache interface: calling keys(optional RequestInfo, optional CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError", + "CacheStorage interface: operation match(RequestInfo, optional MultiCacheQueryOptions)", + "CacheStorage interface: operation keys()", + "CacheStorage interface: caches must inherit property \"match(RequestInfo, optional MultiCacheQueryOptions)\" with the proper type", + "CacheStorage interface: calling match(RequestInfo, optional MultiCacheQueryOptions) on caches with too few arguments must throw TypeError", + "CacheStorage interface: caches must inherit property \"keys()\" with the proper type", + "WorkerGlobalScope interface: attribute caches", + "WorkerNavigator interface: attribute serviceWorker" + ], + "cache-storage": { + "cache-match.https.any.html": [ + "Cache.match supports ignoreMethod", + "Cache.match supports ignoreVary", + "Cache.match with Request and Response objects with different URLs", + "Cache.match with a network error Response", + "cors-exposed header should be stored correctly.", + "MIME type should be set from content-header correctly.", + "Cache.match ignores vary headers on opaque response." + ], + "cache-delete.https.any.html": [ + "Cache.delete called with a HEAD request", + "Cache.delete supports ignoreVary", + "Cache.delete with ignoreSearch option (request with search parameters)", + "Cache.delete with ignoreSearch option (when it is specified as false)" + ], + "cache-abort.https.any.html": false, + "cache-abort.https.any.worker.html": false, + "cache-add.https.any.html": false, + "cache-add.https.any.worker.html": false, + "cache-delete.https.any.worker.html": [ + "Cache.delete called with a HEAD request", + "Cache.delete supports ignoreVary", + "Cache.delete with ignoreSearch option (request with search parameters)", + "Cache.delete with ignoreSearch option (when it is specified as false)" + ], + "cache-keys.https.any.html": false, + "cache-keys.https.any.worker.html": false, + "cache-match.https.any.worker.html": [ + "Cache.match supports ignoreMethod", + "Cache.match supports ignoreVary", + "Cache.match with Request and Response objects with different URLs", + "Cache.match with a network error Response", + "cors-exposed header should be stored correctly.", + "MIME type should be set from content-header correctly.", + "Cache.match ignores vary headers on opaque response." + ], + "cache-matchAll.https.any.html": false, + "cache-matchAll.https.any.worker.html": false, + "cache-put.https.any.html": [ + "Cache.put called with Request and Response from fetch()", + "Cache.put with opaque-filtered HTTP 206 response", + "Cache.put with HTTP 500 response", + "Cache.put with a VARY:* opaque response should not reject" + ], + "cache-put.https.any.worker.html": [ + "Cache.put called with Request and Response from fetch()", + "Cache.put with opaque-filtered HTTP 206 response", + "Cache.put with HTTP 500 response", + "Cache.put with a VARY:* opaque response should not reject" + ], + "cache-storage-keys.https.any.html": false, + "cache-storage-keys.https.any.worker.html": false, + "cache-storage-match.https.any.html": false, + "cache-storage-match.https.any.worker.html": false, + "cache-storage.https.any.html": [ + "CacheStorage.delete dooms, but does not delete immediately", + "CacheStorage.open with existing cache", + "CacheStorage names are DOMStrings not USVStrings" + ], + "cache-storage.https.any.worker.html": [ + "CacheStorage.delete dooms, but does not delete immediately", + "CacheStorage.open with existing cache", + "CacheStorage names are DOMStrings not USVStrings" + ], + "common.https.window.html": true + } } }
\ No newline at end of file |