Chromium Code Reviews| Index: LayoutTests/http/tests/serviceworker/chromium/resources/memory-cache-worker.js |
| diff --git a/LayoutTests/http/tests/serviceworker/chromium/resources/memory-cache-worker.js b/LayoutTests/http/tests/serviceworker/chromium/resources/memory-cache-worker.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..32b8126d0bea3581b36acc5d6ad9f3f75f9a8a24 |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/serviceworker/chromium/resources/memory-cache-worker.js |
| @@ -0,0 +1,6 @@ |
| +onfetch = function(event) { |
| + if (event.request.url.indexOf('memory-cache.json') != -1) { |
| + event.respondWith( |
| + new Response("callback({ src : 'service worker' })")); |
| + } |
| +} |