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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-helper-worker.js

Issue 2676733002: Upstream foreign fetch tests. (Closed)
Patch Set: rebase Created 3 years, 10 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('../../resources/get-host-info.js');
2 var host_info = get_host_info();
3
4 self.onfetch = e => {
5 var remote_url = host_info.HTTPS_REMOTE_ORIGIN +
6 '/serviceworker/resources/simple.txt?basic_sw';
7 e.respondWith(fetch(remote_url));
8 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698