Bug 139682

Summary: Put some common code in StorageNamespaceProvider
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Description Anders Carlsson 2014-12-16 10:07:04 PST
Put some common code in StorageNamespaceProvider
Comment 1 Anders Carlsson 2014-12-16 10:12:35 PST
Created attachment 243365 [details]
Patch
Comment 2 Anders Carlsson 2014-12-16 10:38:34 PST
Committed r177365: <http://trac.webkit.org/changeset/177365>
Comment 3 Joseph Pecoraro 2015-05-05 14:47:53 PDT
Comment on attachment 243365 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=243365&action=review

> Source/WebCore/inspector/InspectorDOMStorageAgent.cpp:203
> -    return page->sessionStorage()->storageArea(document->securityOrigin());
> +    return m_pageAgent->page()->storageNamespaceProvider().localStorageArea(*targetFrame->document());

Looks like this makes the Inspector always return localStorage instead of sessionStorage in some cases.