| Index: third_party/WebKit/Source/devtools/front_end/components_lazy/CookiesTable.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components_lazy/CookiesTable.js b/third_party/WebKit/Source/devtools/front_end/components_lazy/CookiesTable.js
|
| index 3619ffa050196022db4107b7d16bd5325672465f..60d5a6c311ece45fdb1e5bc5075ed4f1efcf062a 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components_lazy/CookiesTable.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components_lazy/CookiesTable.js
|
| @@ -51,7 +51,7 @@ WebInspector.CookiesTable = function(expandable, refreshCallback, selectedCallba
|
| {id: "size", title: WebInspector.UIString("Size"), sortable: true, align: WebInspector.DataGrid.Align.Right, weight: 7},
|
| {id: "httpOnly", title: WebInspector.UIString("HTTP"), sortable: true, align: WebInspector.DataGrid.Align.Center, weight: 7},
|
| {id: "secure", title: WebInspector.UIString("Secure"), sortable: true, align: WebInspector.DataGrid.Align.Center, weight: 7},
|
| - {id: "firstPartyOnly", title: WebInspector.UIString("First-Party"), sortable: true, align: WebInspector.DataGrid.Align.Center, weight: 7}
|
| + {id: "sameSite", title: WebInspector.UIString("Same-Site"), sortable: true, align: WebInspector.DataGrid.Align.Center, weight: 7}
|
| ];
|
|
|
| if (readOnly)
|
| @@ -144,7 +144,7 @@ WebInspector.CookiesTable.prototype = {
|
| for (var i = 0; i < this._data.length; ++i) {
|
| var item = this._data[i];
|
| if (item.folderName) {
|
| - var groupData = {name: item.folderName, value: "", domain: "", path: "", expires: "", size: this._totalSize(item.cookies), httpOnly: "", secure: "", firstPartyOnly: ""};
|
| + var groupData = {name: item.folderName, value: "", domain: "", path: "", expires: "", size: this._totalSize(item.cookies), httpOnly: "", secure: "", sameSite: ""};
|
| var groupNode = new WebInspector.DataGridNode(groupData);
|
| groupNode.selectable = true;
|
| this._dataGrid.rootNode().appendChild(groupNode);
|
| @@ -227,7 +227,7 @@ WebInspector.CookiesTable.prototype = {
|
| case "size": comparator = numberCompare.bind(null, WebInspector.Cookie.prototype.size); break;
|
| case "httpOnly": comparator = compareTo.bind(null, WebInspector.Cookie.prototype.httpOnly); break;
|
| case "secure": comparator = compareTo.bind(null, WebInspector.Cookie.prototype.secure); break;
|
| - case "firstPartyOnly": comparator = compareTo.bind(null, WebInspector.Cookie.prototype.firstPartyOnly); break;
|
| + case "sameSite": comparator = compareTo.bind(null, WebInspector.Cookie.prototype.sameSite); break;
|
| default: compareTo.bind(null, WebInspector.Cookie.prototype.name);
|
| }
|
|
|
| @@ -261,7 +261,7 @@ WebInspector.CookiesTable.prototype = {
|
| const checkmark = "\u2713";
|
| data.httpOnly = (cookie.httpOnly() ? checkmark : "");
|
| data.secure = (cookie.secure() ? checkmark : "");
|
| - data.firstPartyOnly = (cookie.firstPartyOnly() ? checkmark : "");
|
| + data.sameSite = (cookie.sameSite() ? checkmark : "");
|
|
|
| var node = new WebInspector.DataGridNode(data);
|
| node.cookie = cookie;
|
|
|