Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js

Issue 430993002: [ServiceWorker] CacheStorage tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 dc55410e4c2eb4eded4e7323776a6f9b99927365..b03c2238a78d5d692ec6e9b74ed80e5134e85df8 100644
--- a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
@@ -26,4 +26,14 @@ test(function() {
verifyInterface('ServiceWorkerClient');
// FIXME: Get an instance and test it, or ensure property exists on prototype.
-}, 'Interfaces and attributes in ServiceWorkerGlobalScope');
+ verifyInterface('CacheStorage',
+ self.caches,
+ {
+ match: 'function',
+ get: 'function',
+ has: 'function',
+ create: 'function',
+ delete: 'function',
+ keys: 'function'
+ });
+ }, 'Interfaces and attributes in ServiceWorkerGlobalScope');

Powered by Google App Engine
This is Rietveld 408576698