Bug 29770

Summary: Web Inspector: DOM store is being unbound twice, leading to assertion failure
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch timothy: review+

Description Pavel Feldman 2009-09-26 11:35:29 PDT
1. Open Web Inspector
2. Type something in console (completions are being calculated for window, touching localStore, lazily creating it)
3. Close Web Inspector (unbind is called once)
4. Refresh the page (unbind is called again) -> ASSERTION fails

We keep stores bound only while inspector window is show, so this assersion is not correct.
Comment 1 Pavel Feldman 2009-09-26 11:39:22 PDT
Created attachment 40176 [details]
patch
Comment 2 Pavel Feldman 2009-09-27 02:19:30 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/InspectorController.cpp
	M	WebCore/inspector/InspectorDOMStorageResource.cpp
Committed r48799