-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=115176 Patch by Konrad Piascik <kpiascik@blackberry.com> on 2013-04-26 Reviewed by Joseph Pecoraro. Source/WebCore: findStorageArea was returning a null storageArea causing the items input paramater to not be set. This was happening without any error being set at all. Set an error to prevent a crash when we try to convert the result to a JSON string. Added tests to check if session and local storage are empty that they are still functional. * inspector/InspectorDOMStorageAgent.cpp: (WebCore::InspectorDOMStorageAgent::getDOMStorageItems): LayoutTests: Tests to check that if local and session storage are empty that they still work corerctly. * inspector/storage-panel-dom-storage-empty-expected.txt: Added. * inspector/storage-panel-dom-storage-empty.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d99ac61f