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'); |
- }); |
-}; |