1 Test window.dispatchEvent().
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS window.dispatchEvent(event) threw exception InvalidStateError: Failed to execute 'dispatchEvent' on 'EventTarget': The event provided is null..
7 PASS window.dispatchEvent(event) threw exception InvalidStateError: Failed to execute 'dispatchEvent' on 'EventTarget': The event provided is uninitialized..
8 PASS myEventDispatched is true
10 PASS currentTarget is window
11 PASS useCaptureDispatched is true
12 PASS nonUseCaptureDispatched is true
13 PASS successfullyParsed is true