Web Inspector: Crash due to null items from getDOMStorageItems
This asserts in DEBUG builds as well 0x7cb22ec4 in WebCore::InspectorObjectBase::setValue (this=0x774bfcf8, name=..., value=...) at /home/kpiascik/dev/webkit/Source/WebCore/inspector/InspectorValues.h:336 336 ASSERT(value); (gdb) bt #0 0x7cb22ec4 in WebCore::InspectorObjectBase::setValue (this=0x774bfcf8, name=..., value=...) at /home/kpiascik/dev/webkit/Source/WebCore/inspector/InspectorValues.h:336 #1 0x7d8e37f8 in WebCore::InspectorBackendDispatcherImpl::DOMStorage_getDOMStorageItems (this=0x7a046518, callId=62, requestMessageObject=0x7760f0e0) at /home/kpiascik/dev/webkit/WebKitBuild/armle-v7/Debug/DerivedSources/WebCore/InspectorBackendDispatcher.cpp:2555 #2 0x7d8fb6cc in WebCore::InspectorBackendDispatcherImpl::dispatch (this=0x7a046518, message=...) at /home/kpiascik/dev/webkit/WebKitBuild/armle-v7/Debug/DerivedSources/WebCore/InspectorBackendDispatcher.cpp:6650 #3 0x7cba44ec in WebCore::InspectorController::dispatchMessageFromFrontend (this=0x799c8b48, message=...) at /home/kpiascik/dev/webkit/Source/WebCore/inspector/InspectorController.cpp:360 (gdb) up #1 0x7d8e37f8 in WebCore::InspectorBackendDispatcherImpl::DOMStorage_getDOMStorageItems (this=0x7a046518, callId=62, requestMessageObject=0x7760f0e0) at /home/kpiascik/dev/webkit/WebKitBuild/armle-v7/Debug/DerivedSources/WebCore/InspectorBackendDispatcher.cpp:2555 2555 result->setValue("entries", out_entries); (gdb) p out_entries $1 = {m_ptr = 0x0}
Created attachment 199821 [details] Patch
Comment on attachment 199821 [details] Patch Nice, good test.
Comment on attachment 199821 [details] Patch Clearing flags on attachment: 199821 Committed r149200: <http://trac.webkit.org/changeset/149200>
All reviewed patches have been landed. Closing bug.