Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-worker.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-worker.js |
similarity index 76% |
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-worker.js |
copy to third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-worker.js |
index 465fbc91baa71669ca9c3f32117ee834de8294d0..3ab5c7e73186b49d88eaae971ce8c2a6bef5d431 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-worker.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-worker.js |
@@ -3,10 +3,10 @@ self.addEventListener('fetch', function(event) { |
if (url.indexOf('dummy?test') == -1) { |
return; |
} |
+ |
event.respondWith(new Promise(function(resolve) { |
var headers = new Headers; |
- headers.append('foo', 'foo'); |
- headers.append('foo', 'bar'); |
+ headers.append('TEST', 'ßÀ¿'); // header value holds the Latin1 (ISO8859-1) string. |
resolve(new Response('hello world', {'headers': headers})); |
})); |
}); |