Bug 66482

Summary: Web Inspector: backend js api: an ability to skip optional arguments in the middle of the argument list is required
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[patch] initial version pfeldman: review+

Ilya Tikhonovsky
Reported 2011-08-18 10:50:16 PDT
there are some functions in the API with multiple optional arguments. we have to specify an optional argument as 'undefined' when we want to pass non default value for the next one.
Attachments
[patch] initial version (3.29 KB, patch)
2011-08-18 11:26 PDT, Ilya Tikhonovsky
pfeldman: review+
Ilya Tikhonovsky
Comment 1 2011-08-18 11:26:10 PDT
Created attachment 104370 [details] [patch] initial version RuntimeAgent.evaluate(value, undefined, undefined, true, evaluatedCallback.bind(this)); can be replaced with RuntimeAgent.evaluate.invoke({expression:value, doNotPauseOnExceptions:true}, evaluatedCallback.bind(this));
Ilya Tikhonovsky
Comment 2 2011-08-19 01:42:17 PDT
Note You need to log in before you can comment on or make changes to this bug.