UserContentManager.unregisterScriptMessageHandler

void unregisterScriptMessageHandler(string name, string worldName = null)

Unregisters a previously registered message handler in script world with name world_name. If null is passed as the world_name, the default world will be used.

Note that this does not disconnect handlers for the #WebKitUserContentManager::script-message-received signal; they will be kept connected, but the signal will not be emitted unless the handler name is registered again.

See also [webkit.user_content_manager.UserContentManager.registerScriptMessageHandler].

Parameters

nameName of the script message channel
worldNamethe name of a #WebKitScriptWorld