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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-body-worker.js

Issue 2872363002: Upstream service worker navigation tests to WPT (Closed)
Patch Set: Created 3 years, 7 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 self.addEventListener('fetch', function(event) {
2 event.respondWith(
3 fetch(event.request)
4 .then(
5 function(response) {
6 return response;
7 },
8 function(error) {
9 return new Response('Error:' + error);
10 }));
11 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698