Bug 31787 - Cookies don't show up in Web Inspector storage tab if website has a port
Summary: Cookies don't show up in Web Inspector storage tab if website has a port
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://grab.by/Jyn
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 10:45 PST by Charlie Melbye
Modified: 2009-12-29 08:51 PST (History)
10 users (show)

See Also:


Attachments
[PATCH] Strip port from cookie domains passed into WebInspector.addCookieDomain() (1.52 KB, patch)
2009-12-29 04:35 PST, Alexander Pavlov (apavlov)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Melbye 2009-11-22 10:45:01 PST
Cookies for a website are not showing up correctly in Web Inspector's storage tab if the website has a port. I noticed this while developing my Rails application locally at "localhost:3000". Under the "Cookies" section, it says "localhost:3000". I don't think cookies are stored on a per-port basis, so the port should be stripped off the web address before looking for the cookies.
Comment 1 Pavel Feldman 2009-12-04 12:02:28 PST
Before one jumps into fixing this, note that there is a small cookies refactoring in https://bugs.webkit.org/show_bug.cgi?id=32160 under review.
Comment 2 Alexander Pavlov (apavlov) 2009-12-29 04:35:28 PST
Created attachment 45591 [details]
[PATCH] Strip port from cookie domains passed into WebInspector.addCookieDomain()
Comment 3 WebKit Review Bot 2009-12-29 04:36:32 PST
style-queue ran check-webkit-style on attachment 45591 [details] without any errors.
Comment 4 WebKit Commit Bot 2009-12-29 08:51:23 PST
Comment on attachment 45591 [details]
[PATCH] Strip port from cookie domains passed into WebInspector.addCookieDomain()

Clearing flags on attachment: 45591

Committed r52623: <http://trac.webkit.org/changeset/52623>
Comment 5 WebKit Commit Bot 2009-12-29 08:51:29 PST
All reviewed patches have been landed.  Closing bug.