Bug 21715

Summary: JavaScriptDebugServer::didRemoveListener should recompile all JS functions
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: Web Inspector (Deprecated)Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: kmccullough, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Proposed patch ggaren: review+

Description Geoffrey Garen 2008-10-17 13:39:24 PDT
Currently, we only recompile when removing the last listener. We should instead recompile when removing any listener. This would match the behavior of didAddListener, and ensure that, when multiple debuggers are running, closing one returns its page to normal, fast-running mode.
Comment 1 Timothy Hatcher 2008-10-17 14:03:07 PDT
Created attachment 24461 [details]
Proposed patch
Comment 2 Geoffrey Garen 2008-10-17 14:03:56 PDT
Comment on attachment 24461 [details]
Proposed patch

r=me
Comment 3 Timothy Hatcher 2008-10-17 14:05:02 PDT
Comment on attachment 24461 [details]
Proposed patch

Landed in r37659.