blob: 29d7f80cac8dbbea345c90d2c756151c2eda0db2 [file] [log] [blame]
Tests that dispatchEvent raises INVALID_STATE_ERR if the event being dispatched is already being dispatched.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.dispatchEvent(event) threw exception InvalidStateError: The object is in an invalid state..
PASS redispatchCustom.wasInvoked is true
PASS window.dispatchEvent(event) threw exception InvalidStateError: The object is in an invalid state..
PASS checkCustom.wasInvoked is true
PASS document.dispatchEvent(event) threw exception InvalidStateError: The object is in an invalid state..
PASS successfullyParsed is true
TEST COMPLETE