blob: 238743e7e862d47ac96b07fe55b57d5689126f22 [file] [log] [blame]
Test window.dispatchEvent().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.dispatchEvent(event) threw exception TypeError: Argument 1 ('event') to EventTarget.dispatchEvent must be an instance of Event.
PASS window.dispatchEvent(event) threw exception InvalidStateError: The object is in an invalid state..
PASS myEventDispatched is true
PASS target is window
PASS currentTarget is window
PASS useCaptureDispatched is true
PASS nonUseCaptureDispatched is true
PASS successfullyParsed is true
TEST COMPLETE