Cookietable.js is trying to create a new date object using another date object returned from CookieParser's cookie.expires method. This causes an "Invalid Date" error to show up when we view the cookie table under network resources.
Created attachment 165417 [details] Patch
Comment on attachment 165417 [details] Patch Clearing flags on attachment: 165417 Committed r129502: <http://trac.webkit.org/changeset/129502>
All reviewed patches have been landed. Closing bug.
Committed r129628: <http://trac.webkit.org/changeset/129628>
Reopening since the changed was rolled out in http://trac.webkit.org/changeset/129628 as it caused an exception in WebInspector.CookiesTable._createGridNode: Uncaught TypeError: Property 'expires' of object #<Object> is not a function CookiesTable.js:205 WebInspector.CookiesTable._createGridNode CookiesTable.js:205 WebInspector.CookiesTable._populateNode CookiesTable.js:138 WebInspector.CookiesTable._rebuildTable CookiesTable.js:121 WebInspector.CookiesTable.setCookies CookiesTable.js:92 WebInspector.CookieItemsView._updateWithCookies CookieItemsView.js:93 mycallback CookieItemsView.js:216 InspectorBackendClass.dispatch InspectorBackend.js:186 cookie object in the failing method comes from protocol and doesn't have 'expires' method.
Yury, what site did you visit to reproduce this issue?
(In reply to comment #6) > Yury, what site did you visit to reproduce this issue? This was actually not the particular site issue but the problem with the presentation of cookies in the resources panel. The reason was that the cookies that are loaded via protocol form back-end are stored in different format and this ambiguity causes weird behavior. I am gonna reuse this bug to upload a complex patch (partly based on yours) that fixes overall problem.
Created attachment 171838 [details] Patch
Created attachment 171870 [details] Patch
Comment on attachment 171870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=171870&action=review > Source/WebCore/inspector/front-end/CookieParser.js:259 > + get expires() Please always use functions.
Committed r133273: <http://trac.webkit.org/changeset/133273>