Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / serviceworker / resources / interfaces-worker.js
index 9609efe..b03c223 100644 (file)
@@ -9,6 +9,7 @@ test(function() {
                     {
                         scope: 'string',
                         clients: 'object',
+                        close: 'function',
 
                         onactivate: EVENT_HANDLER,
                         onfetch: EVENT_HANDLER,
@@ -19,10 +20,20 @@ test(function() {
     verifyInterface('ServiceWorkerClients',
                     self.clients,
                     {
-                        getServiced: 'function'
+                        getAll: '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');