Called when a message is received from an injected script.
- macOS 10.12+
A string that identifies the message.
The page that sent the message.
Optional message content. If specified, the dictionary's value objects conform to the W3C standard for safe passing of structured data, such as Boolean objects, numeric values, strings, and arrays.