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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/common-worker.js

Issue 2790143003: Cache Storage API tests: Fix WPT test bugs, remove redundant local copies (Closed)
Patch Set: Created 3 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: third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/common-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/common-worker.js b/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/common-worker.js
deleted file mode 100644
index d0e8544b56c2677a9c60d47a9e8b587d63bc6d6c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/common-worker.js
+++ /dev/null
@@ -1,15 +0,0 @@
-self.onmessage = function(e) {
- var cache_name = e.data.name;
-
- self.caches.open(cache_name)
- .then(function(cache) {
- return Promise.all([
- cache.put('https://example.com/a', new Response('a')),
- cache.put('https://example.com/b', new Response('b')),
- cache.put('https://example.com/c', new Response('c'))
- ]);
- })
- .then(function() {
- self.postMessage('ok');
- });
-};

Powered by Google App Engine
This is Rietveld 408576698