Summary: | Put some common code in StorageNamespaceProvider | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Anders Carlsson
2014-12-16 10:07:04 PST
Created attachment 243365 [details]
Patch
Committed r177365: <http://trac.webkit.org/changeset/177365> 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. |