[webkit-help] WebScripting Protocall callbacks with multiple parameters?

Ash Cairo littlestlion at gmail.com
Tue Jul 13 03:25:40 PDT 2010

Hey I've registered my object and function selector to get callbacks from
javascript when the function is fired.

This all works fine for functions with a single parameter, how can I receive
callbacks for functions with multiple parameters?

So far keeping the syntax the same gets my function to fire, however the
object passed in is always a WebUndefined.


myObject.testFunction( a, b, c );


if( sel == @selector( testFunction: ) )
        return NO;

    NSLog( @"JavaScript: %@", [parameter description] );

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100713/0c856a3f/attachment.html>

More information about the webkit-help mailing list