blob: 5efab1c5ef5f39583a9131304c44f9d42d1f278d [file] [log] [blame]
Checks that MessageEvent.source window is correct when postMessage() is called cross-frame via a function in the other frame.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS messageEvent.data is "msg"
PASS messageEvent.source is frames[0]
PASS successfullyParsed is true
TEST COMPLETE