Index: LayoutTests/http/tests/serviceworker/resources/fail-on-fetch-worker.js |
diff --git a/LayoutTests/http/tests/serviceworker/resources/fail-on-fetch-worker.js b/LayoutTests/http/tests/serviceworker/resources/fail-on-fetch-worker.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5eb34968b21820784aeb3136953242968dbd57ce |
--- /dev/null |
+++ b/LayoutTests/http/tests/serviceworker/resources/fail-on-fetch-worker.js |
@@ -0,0 +1,5 @@ |
+importScripts('worker-test-harness.js'); |
+ |
+this.addEventListener('fetch', function(event) { |
+ event.respondWith(new Response('ERROR')); |
+ }); |