Instance Method

dispatchMessage

Dispatches a message to the browser window tab.

Declaration

void dispatchMessage(in DOMString name, in any message);

Parameters

name

The name of the message.

message

The body of the message. Optional.

Discussion

All messages except for canLoad messages are dispatched asynchronously. To send a canLoad message, you should use the canLoad method.

See Also

Sending Messages

canLoad

Dispatches a canLoad message to the browser window tab.

setContextMenuEventUserInfo

Sets the user info to the appropriate context information.