register_script_message_handler_in_world


Description:

[ Version ( since = "2.22" ) ]
public bool register_script_message_handler_in_world (string name, string world_name)

Registers a new user script message handler in script world.

Registers a new user script message handler in script world with name world_name. See register_script_message_handler for full description.

Registering a script message handler will fail if the requested name has been already registered before.

Parameters:

this

A UserContentManager

name

Name of the script message channel

world_name

the name of a WebKitScriptWorld

Returns:

true if message handler was registered successfully, or false otherwise.