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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.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/resources/iso-latin1-header-iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html
similarity index 100%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html
copy to third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html
index 76d0e3a433f39e5c24e19c7bc32bf4a292ca5246..56f26c4f15e0cd7b0a507119adfa4484125f8d31 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html
@@ -6,10 +6,10 @@ function xhr_send(method, data) {
return new Promise(function(resolve, reject) {
var xhr = new XMLHttpRequest();
xhr.onload = function() {
- reject('XHR must fail.');
+ resolve();
};
xhr.onerror = function() {
- resolve();
+ reject('XHR must fail.');
tyoshino (SeeGerritForStatus) 2015/10/13 05:57:06 fail -> succeed
Pritam Nikam 2015/10/13 08:13:00 Done.
};
xhr.responseType = 'text';
xhr.open(method, './dummy?test', true);

Powered by Google App Engine
This is Rietveld 408576698