blob: befb642524ae7073f5dd47728bab9410f8f6bed8 [file] [log] [blame]
Checks that initMessageEvent() is working
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS newEvent.initMessageEvent("message", true, true, "ff", "*", 43, window, {x:1}); threw exception TypeError: Failed to execute 'initMessageEvent' on 'MessageEvent': Iterator getter is not callable..
PASS newEvent.initMessageEvent("message", true, true, "ff", "*", 43, window, null) did not throw exception.
PASS [object MessageEvent] is an instance of function MessageEvent() { [native code] }
PASS successfullyParsed is true
TEST COMPLETE