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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-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/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-worker.js
deleted file mode 100644
index c45866fc58b1333dd3ed18f499fa7e9ab3de9b76..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-worker.js
+++ /dev/null
@@ -1,10 +0,0 @@
-self.addEventListener('fetch', event => {
- if (!event.request.url.match(/body-stream-with-invalid-chunk$/))
- return;
- const stream = new ReadableStream({start: controller => {
- // The argument is intentionally a string, not a Uint8Array.
- controller.enqueue('hello');
- }});
- const headers = { 'x-content-type-options': 'nosniff' };
- event.respondWith(new Response(stream, { headers }));
- });

Powered by Google App Engine
This is Rietveld 408576698