| Index: Source/devtools/front_end/sdk/CookieParser.js
|
| diff --git a/Source/devtools/front_end/sdk/CookieParser.js b/Source/devtools/front_end/sdk/CookieParser.js
|
| index cbc71b54249ce531f273430d66337b031281dd4f..01c4d5822c850a7764df1a5483cd747421359c6a 100644
|
| --- a/Source/devtools/front_end/sdk/CookieParser.js
|
| +++ b/Source/devtools/front_end/sdk/CookieParser.js
|
| @@ -260,6 +260,14 @@ WebInspector.Cookie.prototype = {
|
| /**
|
| * @return {boolean}
|
| */
|
| + firstPartyOnly: function ()
|
| + {
|
| + return "first-party-only" in this._attributes;
|
| + },
|
| +
|
| + /**
|
| + * @return {boolean}
|
| + */
|
| session: function()
|
| {
|
| // RFC 2965 suggests using Discard attribute to mark session cookies, but this does not seem to be widely used.
|
| @@ -420,6 +428,8 @@ WebInspector.Cookies._parseProtocolCookie = function(target, protocolCookie)
|
| cookie.addAttribute("httpOnly");
|
| if (protocolCookie["secure"])
|
| cookie.addAttribute("secure");
|
| + if (protocolCookie["firstPartyOnly"])
|
| + cookie.addAttribute("first-party-only");
|
| cookie.setSize(protocolCookie["size"]);
|
| return cookie;
|
| }
|
|
|