Pass | Calling dispatchEvent(null). | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.dispatchEvent(null) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:17:3) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (BeforeUnloadEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (CompositionEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (CustomEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceMotionEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceOrientationEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (DragEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (Event). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (Events). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (FocusEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (HashChangeEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (HTMLEvents). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (KeyboardEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (MessageEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvents). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (StorageEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (SVGEvents). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (TextEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvent). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvents). | Asserts runPass | assert_equals("", "", "Event type should be empty string before initialization")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:23:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:24:5) |
|
Pass | If the event's dispatch flag is set, an InvalidStateError must be thrown. | Asserts runPass | assert_throws_dom("InvalidStateError", function "function() { target.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:35:5) | Pass | assert_throws_dom("InvalidStateError", function "function() { document.dispatchEvent(e) }")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:38:5) | Pass | assert_equals(true, true, "dispatchEvent must return true")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:43:3) |
|
Pass | Exceptions from event listeners must not be propagated. | Asserts runPass | assert_equals(true, true, "dispatchEvent must return true")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:67:3) | Pass | assert_array_equals(["First", "Second"], ["First", "Second"], "Should have continued to call other event listeners")
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:68:3) |
|
Pass | Event listeners added during dispatch should be called | Asserts runPass | assert_array_equals(["outer", "middle"], ["outer", "middle"])
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:84:3) |
|
Pass | Capturing event listeners should be called before non-capturing ones | Asserts runPass | assert_array_equals([1, 3, 2], [1, 3, 2])
at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:101:3) |
|