| 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 |
| |