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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fail-on-fetch-worker.js

Issue 600843003: Test of uncontrolled page doing a fetch, which currently hits the sw. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed unneeded file. Created 6 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/uncontrolled-page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'));
+ });
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/uncontrolled-page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698