This ensures that postMessage called in a callback does not crash. | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS messageEvent.data is "msg" | |
PASS messageEvent.source is window | |
PASS successfullyParsed is true | |
TEST COMPLETE | |