| 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 1bea7702ad4e362dc36dd8bd4b13037c282d4dd4..61bbfc5b8665bd7cd06ad6f7fa48157f2b7eff83 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
|
| @@ -258,11 +258,11 @@ WebInspector.Cookie.prototype = {
|
| },
|
|
|
| /**
|
| - * @return {boolean}
|
| + * @return {string}
|
| */
|
| sameSite: function ()
|
| {
|
| - return "samesite" in this._attributes;
|
| + return this._attributes["samesite"];
|
| },
|
|
|
| /**
|
| @@ -429,7 +429,7 @@ WebInspector.Cookies._parseProtocolCookie = function(target, protocolCookie)
|
| if (protocolCookie["secure"])
|
| cookie.addAttribute("secure");
|
| if (protocolCookie["sameSite"])
|
| - cookie.addAttribute("sameSite");
|
| + cookie.addAttribute("sameSite", protocolCookie["sameSite"]);
|
| cookie.setSize(protocolCookie["size"]);
|
| return cookie;
|
| }
|
|
|