Bug 101643 - Web Inspector: Local Storage and Session Storage listed twice for same origin
Summary: Web Inspector: Local Storage and Session Storage listed twice for same origin
Status: RESOLVED INVALID
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://www.npr.org/2012/11/07/1645962...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 14:05 PST by Timothy Hatcher
Modified: 2014-12-12 13:42 PST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 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?
Comment 1 Vsevolod Vlasov 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".
Comment 2 Yael 2012-11-10 19:20:38 PST
This is probably duplicate of https://bugs.webkit.org/show_bug.cgi?id=99266.
Comment 3 Brian Burg 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.