Subscribes to message events from a child frame at origin.
message
origin
Ignores events from other origins and payloads without a type field.
type
Unsubscribe function.
Subscribes to
messageevents from a child frame atorigin.Ignores events from other origins and payloads without a
typefield.