Chromium Code Reviews| Index: third_party/WebKit/Source/modules/fetch/Headers.cpp |
| diff --git a/third_party/WebKit/Source/modules/fetch/Headers.cpp b/third_party/WebKit/Source/modules/fetch/Headers.cpp |
| index 5511d78362a530590bb7b522bc1a3f9e8511b2ac..2ff9a1190cb20b7c53b474020efbbfb9d0a0f0cd 100644 |
| --- a/third_party/WebKit/Source/modules/fetch/Headers.cpp |
| +++ b/third_party/WebKit/Source/modules/fetch/Headers.cpp |
| @@ -177,8 +177,8 @@ String Headers::get(const String& name, ExceptionState& exceptionState) { |
| exceptionState.throwTypeError("Invalid name"); |
| return String(); |
| } |
| - // "2. Return the value of the first header in header list whose name is |
| - // |name|, and null otherwise." |
| + // "2. If there is no header in header list whose name is name, return null." |
|
yhirano
2016/12/19 11:43:05
whose name is |name|
|
| + // "3. Return |result| as the combined header list." |
|
yhirano
2016/12/19 11:43:05
Where does this statement come from? Isn't it
"3.
|
| String result; |
| m_headerList->get(name, result); |
| return result; |