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

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 d580452e56f2fe1d0aae3499dd3042b01c3ae5af..e9346c76e7032bc3d510cd74206774bdac76d304 100644
--- a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
@@ -25,4 +25,14 @@ test(function() {
verifyInterface('Client');
// 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