diff options
Diffstat (limited to 'Source/WebCore/inspector/front-end/CookiesTable.js')
-rw-r--r-- | Source/WebCore/inspector/front-end/CookiesTable.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/inspector/front-end/CookiesTable.js b/Source/WebCore/inspector/front-end/CookiesTable.js index 881e9e668..706b78b8e 100644 --- a/Source/WebCore/inspector/front-end/CookiesTable.js +++ b/Source/WebCore/inspector/front-end/CookiesTable.js @@ -202,7 +202,7 @@ WebInspector.CookiesTable.prototype = { data[2] = cookie.domain || ""; data[3] = cookie.path || ""; data[4] = cookie.type === WebInspector.Cookie.Type.Request ? "" : - (cookie.session ? WebInspector.UIString("Session") : cookie.expires().toUTCString()); + (cookie.session ? WebInspector.UIString("Session") : new Date(cookie.expires).toGMTString()); data[5] = cookie.size; const checkmark = "\u2713"; data[6] = (cookie.httpOnly ? checkmark : ""); @@ -217,7 +217,7 @@ WebInspector.CookiesTable.prototype = { _onDeleteFromGrid: function(deleteCallback, node) { deleteCallback(node.cookie); - } -} + }, -WebInspector.CookiesTable.prototype.__proto__ = WebInspector.View.prototype; + __proto__: WebInspector.View.prototype +} |