| Index: third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js b/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| index e1da2a5d6a7540ab49b5251d50c0e075d0ee44fa..de93bda826e69769a2c0e7e4f549e2d55da3a36e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| @@ -108,6 +108,10 @@ SDK.CookieParser = class {
|
| */
|
| _initialize(headerValue) {
|
| this._input = headerValue;
|
| + // We add a \n because the actual header will not exist without a \n at the end. The parser will add
|
| + // \n between each header, but will not add one at the end (because cookies are a special case header).
|
| + if (this._input)
|
| + this._input += '\n';
|
| if (typeof headerValue !== 'string')
|
| return false;
|
| this._cookies = [];
|
|
|