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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 importScripts('worker-test-harness.js');
horo 2014/09/25 09:49:00 importScripts('worker-test-harness.js'); this.add
dmurph 2014/09/26 17:42:02 Done.
2
3 this.addEventListener('fetch', function(event) {
4 event.respondWith(new Response("ERROR"));
horo 2014/09/25 09:49:00 +2 indent space
horo 2014/09/25 09:49:00 use single-quotes
dmurph 2014/09/26 17:42:02 Done.
dmurph 2014/09/26 17:42:02 Done.
5 });
horo 2014/09/25 09:49:00 +2 indent space
dmurph 2014/09/26 17:42:02 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698