1 Checks that initMessageEvent() is working
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS newEvent.initMessageEvent("message", true, true, "ff", "*", 43, window, {x:1}); threw exception TypeError: Failed to execute 'initMessageEvent' on 'MessageEvent': The 8th argument is neither an array, nor does it have indexed properties..
7 PASS newEvent.initMessageEvent("message", true, true, "ff", "*", 43, window, null) did not throw exception.
8 PASS [object MessageEvent] is an instance of function MessageEvent() { [native code] }
9 PASS successfullyParsed is true