Module message

Module message 

Source
Expand description

Boa’s implementation of the Message API (mainly postMessage and supporting functions).

More information:

Modules§

js_module
JavaScript module containing the postMessage function and supporting types.
senders
A collection of MessageSenders basic implementations.

Structs§

PostMessageOptions
Options that can be passed as the second argument to postMessage.

Traits§

MessageSender
A sender of a message. When registering the postMessage API, one must also register an implementation of this trait in the context.

Functions§

post_message
The postMessage function. See the mdn documentation.
register
Register the postMessage function in the realm or context.