| 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 a02559bf7eab0be47829c724b97ed09b48a4393a..5953cc8977a43c35b2e076776dcf88cd2e65c5d0 100644
|
| --- a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
|
| +++ b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
|
| @@ -4,46 +4,46 @@ importScripts('worker-test-harness.js');
|
| test(function() {
|
| var EVENT_HANDLER = 'object';
|
|
|
| - verifyInterface('ServiceWorkerGlobalScope',
|
| - self,
|
| - {
|
| - scope: 'string',
|
| - clients: 'object',
|
| + verify_interface('ServiceWorkerGlobalScope',
|
| + self,
|
| + {
|
| + scope: 'string',
|
| + clients: 'object',
|
|
|
| - onactivate: EVENT_HANDLER,
|
| - onfetch: EVENT_HANDLER,
|
| - oninstall: EVENT_HANDLER,
|
| - onmessage: EVENT_HANDLER
|
| - });
|
| + onactivate: EVENT_HANDLER,
|
| + onfetch: EVENT_HANDLER,
|
| + oninstall: EVENT_HANDLER,
|
| + onmessage: EVENT_HANDLER
|
| + });
|
|
|
| - verifyInterface('ServiceWorkerClients',
|
| - self.clients,
|
| - {
|
| - getServiced: 'function'
|
| - });
|
| + verify_interface('ServiceWorkerClients',
|
| + self.clients,
|
| + {
|
| + getServiced: 'function'
|
| + });
|
|
|
| - verifyInterface('Client');
|
| + verify_interface('Client');
|
| // FIXME: Get an instance and test it, or ensure property exists on prototype.
|
|
|
| - verifyInterface('CacheStorage',
|
| - self.caches,
|
| - {
|
| - match: 'function',
|
| - get: 'function',
|
| - has: 'function',
|
| - create: 'function',
|
| - delete: 'function',
|
| - keys: 'function'
|
| - });
|
| + verify_interface('CacheStorage',
|
| + self.caches,
|
| + {
|
| + match: 'function',
|
| + get: 'function',
|
| + has: 'function',
|
| + create: 'function',
|
| + delete: 'function',
|
| + keys: 'function'
|
| + });
|
|
|
| - verifyInterface('Cache',
|
| - new Cache(),
|
| - {
|
| - match: 'function',
|
| - matchAll: 'function',
|
| - add: 'function',
|
| - put: 'function', delete: 'function',
|
| - keys: 'function',
|
| - batch: 'function'
|
| - });
|
| + verify_interface('Cache',
|
| + new Cache(),
|
| + {
|
| + match: 'function',
|
| + matchAll: 'function',
|
| + add: 'function',
|
| + put: 'function', delete: 'function',
|
| + keys: 'function',
|
| + batch: 'function'
|
| + });
|
| }, 'Interfaces and attributes in ServiceWorkerGlobalScope');
|
|
|