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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-worker.js

Issue 2865313003: Upstream service worker tests to WPT (Closed)
Patch Set: Re-introduce resource script 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
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-worker.js
deleted file mode 100644
index 31e7f29d06fd7e4f2d38560339ec4445eec51328..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-worker.js
+++ /dev/null
@@ -1,12 +0,0 @@
-self.addEventListener('fetch', function(event) {
- var url = event.request.url;
- if (url.indexOf('dummy?test') == -1) {
- return;
- }
- event.respondWith(new Promise(function(resolve) {
- var headers = new Headers;
- headers.append('foo', 'foo');
- headers.append('foo', 'b\0r'); // header value with a null byte
- resolve(new Response('hello world', {'headers': headers}));
- }));
- });
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698