Bug 41070

Summary: Web Inspector: InspectorController should be added only once as ScriptDebugListener
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, bweinstein, eric, joepeck, keishi, pfeldman, pmuellr, podivilov, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Yury Semikhatsky 2010-06-23 07:20:34 PDT
InspectorController should be added only once as ScriptDebugListener to ScriptDebugServer. Now its added twice if debugger is always enebled: first time when InspectorController::connectFrontend is invoked and second time when ScriptsPanel is shown and InspectorController::enableDebuggerFromFrontend is called second time from there.
Comment 1 Yury Semikhatsky 2010-06-23 07:30:36 PDT
Created attachment 59512 [details]
Patch
Comment 2 Yury Semikhatsky 2010-06-23 08:34:31 PDT
Comment on attachment 59512 [details]
Patch

Clearing flags on attachment: 59512

Committed r61688: <http://trac.webkit.org/changeset/61688>
Comment 3 Yury Semikhatsky 2010-06-23 08:34:41 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 WebKit Review Bot 2010-06-23 09:04:55 PDT
http://trac.webkit.org/changeset/61688 might have broken GTK Linux 64-bit Debug