| Index: LayoutTests/http/tests/cachestorage/script-tests/cache-storage.js
|
| diff --git a/LayoutTests/http/tests/serviceworker/resources/cache-storage-worker.js b/LayoutTests/http/tests/cachestorage/script-tests/cache-storage.js
|
| similarity index 97%
|
| copy from LayoutTests/http/tests/serviceworker/resources/cache-storage-worker.js
|
| copy to LayoutTests/http/tests/cachestorage/script-tests/cache-storage.js
|
| index cc2da0c8428d44b2b28a5c9ee10739b9249f1c11..1e3280c99ed0a35fbb3dec36c2afb6265e5b4ff5 100644
|
| --- a/LayoutTests/http/tests/serviceworker/resources/cache-storage-worker.js
|
| +++ b/LayoutTests/http/tests/cachestorage/script-tests/cache-storage.js
|
| @@ -1,5 +1,8 @@
|
| -importScripts('worker-testharness.js');
|
| -importScripts('../../resources/testharness-helpers.js');
|
| +if (self.importScripts) {
|
| + importScripts('/resources/testharness.js');
|
| + importScripts('/resources/testharness-helpers.js');
|
| + importScripts('../resources/test-helpers.js');
|
| +}
|
|
|
| promise_test(function(t) {
|
| var cache_name = 'cache-storage/foo';
|
| @@ -185,3 +188,5 @@ promise_test(function(t) {
|
| 'CacheStorage names should be not be converted.');
|
| });
|
| }, 'CacheStorage names are DOMStrings not USVStrings');
|
| +
|
| +done();
|
|
|