Bug 101643

Summary: Web Inspector: Local Storage and Session Storage listed twice for same origin
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, timothy, vsevik, web-inspector-bugs, yael, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.npr.org/2012/11/07/164596223/russias-putin-welcomes-obamas-re-election?ft=1&f=1001&sc=tw&utm_source=twitterfeed&utm_medium=twitter

Timothy Hatcher
Reported 2012-11-08 14:05:26 PST
Load the URL for the bug and you will see Local Storage and Session Storage show up twice for the same origin (http://www.npr.org/). It should only show up once or the origin string is wrong and once is https or a different port?
Attachments
Vsevolod Vlasov
Comment 1 2012-11-09 02:23:07 PST
The security origin is different per following check in SecurityOrigin::equal. if (m_domainWasSetInDOM != other->m_domainWasSetInDOM) return false; Apparently this happens when script does document.domain = "foo".
Yael
Comment 2 2012-11-10 19:20:38 PST
This is probably duplicate of https://bugs.webkit.org/show_bug.cgi?id=99266.
Brian Burg
Comment 3 2014-12-12 13:39:54 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.
Note You need to log in before you can comment on or make changes to this bug.