Bug 95491 - Web Inspector: Cookie info in Network Resources Cookies tab are incorrect
Summary: Web Inspector: Cookie info in Network Resources Cookies tab are incorrect
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 13:08 PDT by Shant Panos
Modified: 2012-09-20 07:15 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.90 KB, patch)
2012-09-11 14:16 PDT, otcheung
no flags Details | Formatted Diff | Diff
Patch (3.75 KB, patch)
2012-09-19 13:06 PDT, otcheung
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shant Panos 2012-08-30 13:08:13 PDT
Cookie with proper expiry date showing as "Session" type cookie under the network resources cookies tab. Cookie info under the resources tab are correct and shows the proper expiry date.

Steps:
------
1) Launch Chrome browser
2) Clear browser cookies and start Web Inspector
3) Visit a page that sets a cookie with proper expires date (like www.google.com)
4) Navigate to the networking tab
5) Select the page resource from the list on the left
6) Switch to the Cookie tab


Expected:
---------
6) Cookie's expires column should mention the proper expiry date

Actual:
-------
6) Cookie's expires column show cookie type as session


Cookie header received from server:
-----------------------------------
Set-Cookie:expiryCookie=tenSecsExpirey; expires=Thu, 30-Aug-2012 19:55:59 GMT


Cookie appears in Network cookies tab:
--------------------------------------
Name: expiryCookie
Value: tenSecsExpirey
Expires: Session
Size: 66

Reproduced on Chrome 21.0.1180.83 m
Comment 1 otcheung 2012-09-11 14:16:38 PDT
Created attachment 163433 [details]
Patch
Comment 2 WebKit Review Bot 2012-09-11 18:29:12 PDT
Comment on attachment 163433 [details]
Patch

Attachment 163433 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13827444

New failing tests:
inspector/cookie-parser.html
Comment 3 Vsevolod Vlasov 2012-09-12 00:51:31 PDT
Comment on attachment 163433 [details]
Patch

Please update test expectations before landing.
Comment 4 otcheung 2012-09-19 13:06:00 PDT
Created attachment 164765 [details]
Patch
Comment 5 WebKit Review Bot 2012-09-20 04:34:10 PDT
Comment on attachment 164765 [details]
Patch

Clearing flags on attachment: 164765

Committed r129118: <http://trac.webkit.org/changeset/129118>
Comment 6 WebKit Review Bot 2012-09-20 04:34:13 PDT
All reviewed patches have been landed.  Closing bug.