Index: LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js |
diff --git a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js |
index b03c2238a78d5d692ec6e9b74ed80e5134e85df8..94bc4e8b589359a615d5bff78274a1adb4fac40c 100644 |
--- a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js |
+++ b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js |
@@ -37,3 +37,20 @@ test(function() { |
keys: 'function' |
}); |
}, 'Interfaces and attributes in ServiceWorkerGlobalScope'); |
+ |
+promise_test(function(t) { |
+ return create_temporary_cache(t) |
+ .then(function(cache) { |
+ verifyInterface('Cache', |
+ cache, |
+ { |
+ match: 'function', |
+ matchAll: 'function', |
+ add: 'function', |
+ addAll: 'function', |
+ put: 'function', |
+ delete: 'function', |
+ keys: 'function' |
+ }); |
+ }); |
+ }, 'Cache'); |