Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: LayoutTests/http/tests/cachestorage/script-tests/cache-storage-keys.js

Issue 1032623008: Expose Cache Storage API in global window/worker scope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update webexposed expectations Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698