Summary

Harness status: OK

Found 25 tests

Details

ResultTest NameMessage
PassCalling dispatchEvent(null).
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.dispatchEvent(null) }")
    at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:17:3)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (BeforeUnloadEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (CompositionEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (CustomEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceMotionEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (DeviceOrientationEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (DragEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (Event).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (Events).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (FocusEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (HashChangeEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (HTMLEvents).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (KeyboardEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (MessageEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvents).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (StorageEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (SVGEvents).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (TextEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvent).
Asserts run
Pass
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)
PassIf the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvents).
Asserts run
Pass
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)
PassIf the event's dispatch flag is set, an InvalidStateError must be thrown.
Asserts run
Pass
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)
PassExceptions from event listeners must not be propagated.
Asserts run
Pass
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)
PassEvent listeners added during dispatch should be called
Asserts run
Pass
assert_array_equals(["outer", "middle"], ["outer", "middle"])
    at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:84:3)
PassCapturing event listeners should be called before non-capturing ones
Asserts run
Pass
assert_array_equals([1, 3, 2], [1, 3, 2])
    at Test.<anonymous> ( /dom/events/EventTarget-dispatchEvent.html:101:3)