Bug 95491

Summary: Web Inspector: Cookie info in Network Resources Cookies tab are incorrect
Product: WebKit Reporter: Shant Panos <shantpanos>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: dglazkov, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Patch
none
Patch none

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.