Summary

Harness status: OK

Found 39 tests

Details

ResultTest NameMessage
Failevent dispatches on click with addEventListenerCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:30:34)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:26:3
Asserts runNo asserts ran
Failevent dispatches on click with oncommand propertyCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:47:34)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:40:3
Asserts runNo asserts ran
Failsetting custom command property to --foo (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:66:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:60:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command attribute to --foo (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:82:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:76:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command property to --foo- (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:66:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:60:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command attribute to --foo- (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:82:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:76:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command property to --cAsE-cArRiEs (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:66:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:60:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command attribute to --cAsE-cArRiEs (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:82:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:76:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command property to -- (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:66:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:60:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command attribute to -- (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:82:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:76:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command property to --a- (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:66:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:60:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command attribute to --a- (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:82:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:76:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command property to --a-b (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:66:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:60:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command attribute to --a-b (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:82:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:76:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command property to --- (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:66:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:60:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command attribute to --- (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:82:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:76:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command property to --show-picker (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:66:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:60:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Failsetting custom command attribute to --show-picker (must include dash) sets event commandCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:82:38)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:76:7
    at Array.forEach (<anonymous>)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:58:88
Asserts runNo asserts ran
Passsetting custom command property to -foo (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:102:7)
Passsetting custom command attribute to -foo (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:111:7)
Passsetting custom command property to -foo- (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:102:7)
Passsetting custom command attribute to -foo- (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:111:7)
Passsetting custom command property to foo-bar (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:102:7)
Passsetting custom command attribute to foo-bar (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:111:7)
Passsetting custom command property to -foo bar (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:102:7)
Passsetting custom command attribute to -foo bar (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:111:7)
Passsetting custom command property to —-emdash (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:102:7)
Passsetting custom command attribute to —-emdash (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:111:7)
Passsetting custom command property to hidedocument (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:102:7)
Passsetting custom command attribute to hidedocument (no dash) did not dispatch an event
Asserts run
Pass
assert_equals(null, null, "event should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:111:7)
Passevent does not dispatch if click:preventDefault is called
Asserts run
Pass
assert_false(false, "event was not called")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:132:5)
Passevent does not dispatch on input[type=button]
Asserts run
Pass
assert_equals(null, null, "command should not have fired")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:139:5)
Passevent does not dispatch if invoker is disabled
Asserts run
Pass
assert_false(false, "event was not called")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:148:5)
Passevent does NOT dispatch if button is form associated, with implicit type
Asserts run
Pass
assert_false(false, "event was not called")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:158:5)
Passevent does NOT dispatch if button is form associated, with explicit type=invalid
Asserts run
Pass
assert_false(false, "event was not called")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:168:5)
Failevent dispatches if button is form associated, with explicit type=buttonCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:178:34)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:171:3
Asserts runNo asserts ran
Passevent does NOT dispatch if button is form associated, with explicit type=submit
Asserts run
Pass
assert_false(false, "event was not called")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:195:5)
Passevent does NOT dispatch if button is form associated, with explicit type=reset
Asserts run
Pass
assert_false(false, "event was called")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:205:5)
Failevent dispatches if invokee is non-HTML Elementassert_equals: expected (object) Element node <svg id="svg-invokee"></svg> but got (undefined) undefined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:219:5)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:208:3
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:213:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:214:5)
Fail
assert_equals(undefined, Element node <svg id="svg-invokee"></svg>)
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:219:5)