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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/iso-latin1-header.html

Issue 1372423002: [Service Workers] DCHECK from WebServiceWorkerResponse::visitHTTPHeaderFields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added LayoutTest. Created 5 years, 2 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/iso-latin1-header.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/invalid-blobtype.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/iso-latin1-header.html
similarity index 89%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/invalid-blobtype.html
copy to third_party/WebKit/LayoutTests/http/tests/serviceworker/iso-latin1-header.html
index 0ec28a15c73edae7f479778825a502a3cbc989ad..e56e68c07aa748ceb6f3c3c5bc3536d09c251e10 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/invalid-blobtype.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/iso-latin1-header.html
@@ -1,13 +1,13 @@
<!DOCTYPE html>
-<title>Service Worker: respondWith with header value containing a null byte</title>
+<title>Service Worker: respondWith with header value containing a non ascii string</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="../resources/get-host-info.js"></script>
<script src="resources/test-helpers.js?pipe=sub"></script>
<script>
async_test(function(t) {
- var SCOPE = 'resources/invalid-blobtype-iframe.html';
- var SCRIPT = 'resources/invalid-blobtype-worker.js';
+ var SCOPE = 'resources/iso-latin1-header-iframe.html';
+ var SCRIPT = 'resources/iso-latin1-header-worker.js';
var host_info = get_host_info();
service_worker_unregister_and_register(t, SCRIPT, SCOPE)
.then(function(registration) {
@@ -27,4 +27,5 @@ async_test(function(t) {
})
.catch(unreached_rejection(t));
}, 'Verify the response of FetchEvent using XMLHttpRequest');
+
</script>

Powered by Google App Engine
This is Rietveld 408576698