blob: 281fbab5ac54b759a4458fc7ba36be12203ac328 [file] [log] [blame]
Tests that Event.initEvent()'s first parameter is mandatory.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS event.initEvent() threw exception TypeError: Not enough arguments.
PASS event.initEvent('click') did not throw exception.
PASS event.type is "click"
PASS event.bubbles is false
PASS event.cancelable is false
PASS successfullyParsed is true
TEST COMPLETE