| Index: LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js
|
| diff --git a/LayoutTests/http/tests/serviceworker/resources/cache-storage-match-worker.js b/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js
|
| similarity index 95%
|
| copy from LayoutTests/http/tests/serviceworker/resources/cache-storage-match-worker.js
|
| copy to LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js
|
| index 2c916614cc5e0531edcb92c1b4c6295f221e0656..f347ce2e778d1e06e9c1452a15f8ac314a09a477 100644
|
| --- a/LayoutTests/http/tests/serviceworker/resources/cache-storage-match-worker.js
|
| +++ b/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js
|
| @@ -1,6 +1,8 @@
|
| -importScripts('worker-testharness.js');
|
| -importScripts('../../resources/testharness-helpers.js');
|
| -importScripts('override_assert_object_equals.js');
|
| +if (self.importScripts) {
|
| + importScripts('/resources/testharness.js');
|
| + importScripts('/resources/testharness-helpers.js');
|
| + importScripts('../resources/test-helpers.js');
|
| +}
|
|
|
| (function() {
|
| var next_index = 1;
|
| @@ -117,3 +119,5 @@ promise_test(function(test) {
|
| assert_false(has_foo, "The cache should still not exist.");
|
| })
|
| }, 'CacheStorageMatch with no caches available but name provided');
|
| +
|
| +done();
|
|
|