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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchHeaderListTest.cpp

Issue 2822183002: Fetch, XHR: Use ", " as header list value separator. (Closed)
Patch Set: Created 3 years, 8 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/Source/modules/fetch/FetchHeaderListTest.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchHeaderListTest.cpp b/third_party/WebKit/Source/modules/fetch/FetchHeaderListTest.cpp
index 70de8233c4790bd0bb8a02d8a886df7541fd5162..e8bfdf78da32cdf0788fe50c6d58e4058fdce1d0 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchHeaderListTest.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchHeaderListTest.cpp
@@ -87,7 +87,7 @@ TEST(FetchHeaderListTest, Combine) {
EXPECT_TRUE(headerList->Get("X-Foo", combinedValue));
EXPECT_EQ("bar", combinedValue);
EXPECT_TRUE(headerList->Get("content-TYPE", combinedValue));
- EXPECT_EQ("text/plain,application/xml,foo", combinedValue);
+ EXPECT_EQ("text/plain, application/xml, foo", combinedValue);
}
// This is going to be removed: see crbug.com/645492.
@@ -146,7 +146,7 @@ TEST(FetchHeaderListTest, SortAndCombine) {
headerList->Append("X-Foo", "bar");
const std::pair<String, String> expectedHeaders[] = {
std::make_pair("accept", "XYZ"),
- std::make_pair("content-type", "multipart/form-data,application/xml"),
+ std::make_pair("content-type", "multipart/form-data, application/xml"),
std::make_pair("x-foo", "bar")};
const Vector<FetchHeaderList::Header> sortedAndCombined =
headerList->SortAndCombine();

Powered by Google App Engine
This is Rietveld 408576698