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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/respondwith-fetch-worker.js

Issue 2703343002: ServiceWorker: Use mojo's data pipe for respondWith(stream) (Closed)
Patch Set: Addressed comments from kinuko and haraken Created 3 years, 8 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
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/respondwith-fetch-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/respondwith-fetch-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/respondwith-fetch-worker.js
new file mode 100644
index 0000000000000000000000000000000000000000..887aa01af21f114d1907a1d08e34c354a44e8920
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/respondwith-fetch-worker.js
@@ -0,0 +1 @@
+addEventListener('fetch', e => e.respondWith(fetch(e.request)));

Powered by Google App Engine
This is Rietveld 408576698