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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-event-respond-with-readable-stream-worker.js

Issue 2893793004: Upstream service wrkr "respond with" tests to WPT (Closed)
Patch Set: Remove declaration of unused binding 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-event-respond-with-readable-stream-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-readable-stream-worker.js b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-event-respond-with-readable-stream-worker.js
similarity index 95%
rename from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-readable-stream-worker.js
rename to third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-event-respond-with-readable-stream-worker.js
index 527fba96e32c544708859d555494741018fb65c0..ddaba55fa7ba52f93b807ad16f3578104ddb2953 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-readable-stream-worker.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-event-respond-with-readable-stream-worker.js
@@ -1,3 +1,5 @@
+'use strict';
+
self.addEventListener('fetch', event => {
if (!event.request.url.match(/body-stream$/))
return;

Powered by Google App Engine
This is Rietveld 408576698