Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put some common code in StorageNamespaceProvider
https://bugs.webkit.org/show_bug.cgi?id=139682 Reviewed by Tim Horton. We have code in two places that gets the local storage area from a given document, choosing either the local storage namespace or the transient local storage namespace. Move it to StorageNamespaceProvider::localStorageArea. * bindings/js/ScriptController.cpp: * inspector/InspectorDOMStorageAgent.cpp: (WebCore::InspectorDOMStorageAgent::findStorageArea): * page/DOMWindow.cpp: (WebCore::DOMWindow::localStorage): * page/Navigator.cpp: * storage/StorageNamespaceProvider.cpp: (WebCore::StorageNamespaceProvider::localStorageArea): (WebCore::StorageNamespaceProvider::localStorageNamespace): * storage/StorageNamespaceProvider.h: Canonical link: https://commits.webkit.org/157573@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Anders Carlsson
committed
Dec 16, 2014
1 parent
aac46b1
commit 18cccab
Showing
7 changed files
with
39 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters