Window.postMessage Demo

On click of the button it will open up a window and send a message across to the newly opened window.

That window will change its title and color when it recieves the message.