WebKit2.UserContentManager::script-message-received
connect('script-message-received', function (userContentManager, js_result: WebKit2.JavascriptResult, ): void);
This signal is emitted when JavaScript in a web view calls <code>window.webkit.messageHandlers.<name>.postMessage()</code>, after registering <code><name></code> using WebKit2.UserContentManager.prototype.register_script_message_handler
Since 2.8
- userContentManager
instance of WebKit2.UserContentManager that is emitting the signal
- js_result
the WebKit2.JavascriptResult holding the value received from the JavaScript world.