- msg [in]
One of the following:
- PixelArray object
- ImageData object
postMessage cannot send a function as a message.
- ports [in, optional]
This method does not return a value.
When you create a new MessageChannel object, it has two connected MessagePort objects that can only send and receive messages between them. If the ports parameter is supplied but contains errors, an InvalidStateError exception is thrown. Sending a message containing an un-supported object (such as a function), a DataCloneError exception is thrown.
For more info, see MessageChannel for a working messaging demo.
Build date: 11/20/2012