Bug 121194

Summary: Removed some unused functions from the debugger interface
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: New BugsAssignee: Geoffrey Garen <ggaren>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ddkilzer, graouts, joepeck, mark.lam, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch joepeck: review+

Description Geoffrey Garen 2013-09-11 17:34:29 PDT
Removed some unused functions from the debugger interface
Comment 1 Geoffrey Garen 2013-09-11 17:36:56 PDT
Created attachment 211369 [details]
Patch
Comment 2 Geoffrey Garen 2013-09-11 17:40:15 PDT
Created attachment 211370 [details]
Patch
Comment 3 Geoffrey Garen 2013-09-11 17:43:44 PDT
Created attachment 211371 [details]
Patch
Comment 4 Geoffrey Garen 2013-09-11 17:46:39 PDT
Created attachment 211373 [details]
Patch
Comment 5 Geoffrey Garen 2013-09-11 18:13:34 PDT
Comment on attachment 211373 [details]
Patch

Looks like I need to update a layout tests. Stay tuned...
Comment 6 Timothy Hatcher 2013-09-11 18:14:02 PDT
Comment on attachment 211373 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=211373&action=review

> Source/WebCore/inspector/InjectedScript.cpp:-101
> -    ScriptFunctionCall function(injectedScriptObject(), "restartFrame");

restartFrame can be removed from InjectedScriptSource.js too.

> Source/WebCore/inspector/InjectedScript.cpp:-121
> -    ScriptFunctionCall function(injectedScriptObject(), "setVariableValue");

setVariableValue can be removed from InjectedScriptSource.js too.
Comment 7 Geoffrey Garen 2013-09-11 19:30:12 PDT
Created attachment 211387 [details]
Patch
Comment 8 Joseph Pecoraro 2013-09-11 19:39:52 PDT
Comment on attachment 211387 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=211387&action=review

r=me

> Source/WebCore/inspector/InjectedScriptSource.js:-692
> -            setter = InjectedScriptHost.setFunctionVariableValue.bind(InjectedScriptHost, func); 

This is the only user of InjectedScriptHost.setFunctionVariableValue.bind. It is equally stubbed so you can remove that too!

  - WebCore/bindings/js/JSInjectedScriptHostCustom.cpp stub
  - WebCore/inspector/InjectedScriptExterns.js stub
  - WebCore/inspector/InjectedScriptHost.idl [Custom]
Comment 9 Geoffrey Garen 2013-09-11 20:07:21 PDT
Committed r155589: <http://trac.webkit.org/changeset/155589>
Comment 10 Geoffrey Garen 2013-09-11 20:08:01 PDT
Thanks!