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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html

Issue 2828753002: XHR: Lowercase header names returned by getAllResponseHeaders(). (Closed)
Patch Set: Rebased patch 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/xmlhttprequest/xmlhttprequest-data-url.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html
index ee0730fda9748b428c734a54ca9b286d050bf85a..7359acac53f75edd419ff74f1c4717ccb69c8308 100644
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html
@@ -18,7 +18,7 @@ test.step(function() {
assert_equals(xhr.status, 200, 'status');
assert_equals(xhr.statusText, 'OK', 'statusText');
- assert_equals(xhr.getAllResponseHeaders(), 'Content-Type: text/html\r\n', 'getAllResponseheaders()');
+ assert_equals(xhr.getAllResponseHeaders(), 'content-type: text/html\r\n', 'getAllResponseheaders()');
assert_equals(xhr.response, 'Foobar', 'response');
test.done();
@@ -58,7 +58,7 @@ testUtf8.step(function() {
return;
assert_equals(xhr.status, 200, 'status');
- assert_equals(xhr.getAllResponseHeaders(), 'Content-Type: text/html;charset=utf-8\r\n', 'getAllResponseheaders()');
+ assert_equals(xhr.getAllResponseHeaders(), 'content-type: text/html;charset=utf-8\r\n', 'getAllResponseheaders()');
assert_equals(xhr.response, '\u6587\u5b57', 'response');
testUtf8.done();

Powered by Google App Engine
This is Rietveld 408576698