[webkit-dev] How can I call a javascript function from the hosting application

Patrick Gansterer paroga at paroga.com
Mon Jan 10 12:37:38 PST 2011


André Pedralho:
> Hi Fred, my bad! Sorry, it is only available in the Qt port.

If you have a look at the Qt port you see the following:

JSC::JSValue v = d->frame->script()->executeScript(ScriptSourceCode(scriptSource)).jsValue();

There's a Frame::script() method where get the ScriptController.

- Patrick



More information about the webkit-dev mailing list