UserContentManager.unregisterScriptMessageHandler

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.

class UserContentManager
void
unregisterScriptMessageHandler
(
string name
,
string worldName = null
)

Parameters

name string

Name of the script message channel

worldName string

the name of a #WebKitScriptWorld