Chocolat API

sendMessage

.sendMessage(msg, arg)

Send a message to the window that you can catch with the window.onMessage attribute.