CodeGeneratorJS.pm only handles DOMStrings and objects as arguments for a Callback, so I added support for boolean values as well.
Created attachment 133459 [details] Patch
Comment on attachment 133459 [details] Patch OK!
Comment on attachment 133459 [details] Patch Oops, would you please add run-bindings-tests? https://trac.webkit.org/wiki/WebKitIDL#RunBindingsTests
Created attachment 133463 [details] Patch
Comment on attachment 133463 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133463&action=review > Source/WebCore/bindings/scripts/test/TestCallback.idl:42 > + boolean callbackWithBoolean(in boolean boolParam); Sorry for my wrong comment in IRC. This does not test your change, since TestObj does not have the [Callback] IDL attribute. You need to add this test case to TestCallback.idl.
Comment on attachment 133463 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133463&action=review >> Source/WebCore/bindings/scripts/test/TestCallback.idl:42 >> + boolean callbackWithBoolean(in boolean boolParam); > > Sorry for my wrong comment in IRC. This does not test your change, since TestObj does not have the [Callback] IDL attribute. You need to add this test case to TestCallback.idl. This IS in TestCallback.idl...
Comment on attachment 133463 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133463&action=review >>> Source/WebCore/bindings/scripts/test/TestCallback.idl:42 >>> + boolean callbackWithBoolean(in boolean boolParam); >> >> Sorry for my wrong comment in IRC. This does not test your change, since TestObj does not have the [Callback] IDL attribute. You need to add this test case to TestCallback.idl. > > This IS in TestCallback.idl... Sorry for the repeated confusion:)
Comment on attachment 133463 [details] Patch Clearing flags on attachment: 133463 Committed r111853: <http://trac.webkit.org/changeset/111853>
All reviewed patches have been landed. Closing bug.