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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/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('get-host-info.sub.js');
2 const host_info = get_host_info();
3
4 self.onfetch = e => {
5 const remote_url = host_info.HTTPS_REMOTE_ORIGIN +
6 new URL('./', location).pathname + 'simple.txt?basic_sw';
7 e.respondWith(fetch(remote_url));
8 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698