Current JSC bindings generator does not support Optional callback as method's argument. Need to add support for the same.
Created attachment 190322 [details] patch
Comment on attachment 190322 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=190322&action=review The change to CodeGeneratorJS.pm looks good. > Source/WebCore/bindings/scripts/test/TestObj.idl:150 > + void staticMethodWithCallbackAndOptionalArg(in [Callback, Optional] TestCallback callback); > + void staticMethodWithCallbackArg(in [Callback] TestCallback callback); You need to add 'static' to these methods.
Created attachment 190324 [details] updated_patch Sorry for Copypasta.
Comment on attachment 190324 [details] updated_patch LGTM
Comment on attachment 190324 [details] updated_patch Thanks!!
Comment on attachment 190324 [details] updated_patch Clearing flags on attachment: 190324 Committed r144101: <http://trac.webkit.org/changeset/144101>
All reviewed patches have been landed. Closing bug.