Fail | event dispatches on click with addEventListener | CommandEvent is not definedReferenceError: 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 |
Fail | event dispatches on click with oncommand property | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command property to --foo (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command attribute to --foo (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command property to --foo- (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command attribute to --foo- (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command property to --cAsE-cArRiEs (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command attribute to --cAsE-cArRiEs (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command property to -- (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command attribute to -- (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command property to --a- (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command attribute to --a- (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command property to --a-b (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command attribute to --a-b (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command property to --- (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command attribute to --- (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command property to --show-picker (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Fail | setting custom command attribute to --show-picker (must include dash) sets event command | CommandEvent is not definedReferenceError: 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 |
Pass | setting custom command property to -foo (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command attribute to -foo (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command property to -foo- (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command attribute to -foo- (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command property to foo-bar (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command attribute to foo-bar (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command property to -foo bar (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command attribute to -foo bar (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command property to —-emdash (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command attribute to —-emdash (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command property to hidedocument (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | setting custom command attribute to hidedocument (no dash) did not dispatch an event | Asserts runPass | 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) |
|
Pass | event does not dispatch if click:preventDefault is called | Asserts runPass | assert_false(false, "event was not called")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:132:5) |
|
Pass | event does not dispatch on input[type=button] | Asserts runPass | 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) |
|
Pass | event does not dispatch if invoker is disabled | Asserts runPass | assert_false(false, "event was not called")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:148:5) |
|
Pass | event does NOT dispatch if button is form associated, with implicit type | Asserts runPass | assert_false(false, "event was not called")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:158:5) |
|
Pass | event does NOT dispatch if button is form associated, with explicit type=invalid | Asserts runPass | assert_false(false, "event was not called")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:168:5) |
|
Fail | event dispatches if button is form associated, with explicit type=button | CommandEvent is not definedReferenceError: 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 |
Pass | event does NOT dispatch if button is form associated, with explicit type=submit | Asserts runPass | assert_false(false, "event was not called")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:195:5) |
|
Pass | event does NOT dispatch if button is form associated, with explicit type=reset | Asserts runPass | assert_false(false, "event was called")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html:205:5) |
|
Fail | event dispatches if invokee is non-HTML Element | assert_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 runPass | 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) |
|