RESOLVED FIXED Bug 66482
Web Inspector: backend js api: an ability to skip optional arguments in the middle of the argument list is required
https://bugs.webkit.org/show_bug.cgi?id=66482
Summary Web Inspector: backend js api: an ability to skip optional arguments in the m...
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.