Asynchronously evaluate script in the script world with name world_name of the main frame current context in web_view.
If world_name is null, the default world is used. Any value that is not null is a distinct world.
The source_uri will be shown in exceptions and doesn't affect the behavior of the script.
When not provided, the document URL is used.
Note that if #WebKitSettings:enable-javascript is false, this method will do nothing.
If you want to use this method but still prevent web content from executing its own
JavaScript, then use #WebKitSettings:enable-javascript-markup.
Asynchronously evaluate script in the script world with name world_name of the main frame current context in web_view. If world_name is null, the default world is used. Any value that is not null is a distinct world. The source_uri will be shown in exceptions and doesn't affect the behavior of the script. When not provided, the document URL is used.
Note that if #WebKitSettings:enable-javascript is false, this method will do nothing. If you want to use this method but still prevent web content from executing its own JavaScript, then use #WebKitSettings:enable-javascript-markup.
When the operation is finished, callback will be called. You can then call webkit.web_view.WebView.evaluateJavascriptFinish to get the result of the operation.
This is an example of using webkit.web_view.WebView.evaluateJavascript with a script returning a string: