Index: LayoutTests/http/tests/cachestorage/script-tests/cache-storage-keys.js |
diff --git a/LayoutTests/http/tests/serviceworker/resources/cache-storage-keys-worker.js b/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-keys.js |
similarity index 84% |
copy from LayoutTests/http/tests/serviceworker/resources/cache-storage-keys-worker.js |
copy to LayoutTests/http/tests/cachestorage/script-tests/cache-storage-keys.js |
index 80840a0c4c94fbe99b26998b61638fc002430c08..51b06c3d4fb9f432b41d5921c662a61b2ca610e4 100644 |
--- a/LayoutTests/http/tests/serviceworker/resources/cache-storage-keys-worker.js |
+++ b/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-keys.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'); |
+} |
var test_cache_list = |
['', 'example', 'Another cache name', 'A', 'a', 'ex ample']; |
@@ -30,3 +32,5 @@ promise_test(function(test) { |
'existing caches.'); |
}); |
}, 'CacheStorage keys'); |
+ |
+done(); |