Summary

Harness status: OK

Found 22 tests

Details

ResultTest NameMessage
Failcommand is a readonly defaulting to ''CommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:14:19)
    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/event-interface.html:13:3
Asserts runNo asserts ran
Failsource is readonly defaulting to nullCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:20:19)
    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/event-interface.html:19:3
Asserts runNo asserts ran
Failcommand reflects initialized attributeCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:26:19)
    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/event-interface.html:25:3
Asserts runNo asserts ran
Failcommand set to undefinedCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:31:19)
    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/event-interface.html:30:3
Asserts runNo asserts ran
Failcommand set to nullCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:36:19)
    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/event-interface.html:35:3
Asserts runNo asserts ran
Failcommand set to falseCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:41:19)
    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/event-interface.html:40:3
Asserts runNo asserts ran
Failcommand explicitly set to empty stringCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:46:19)
    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/event-interface.html:45:3
Asserts runNo asserts ran
Failcommand set to trueCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:51:19)
    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/event-interface.html:50:3
Asserts runNo asserts ran
Failcommand set to a numberCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:56:19)
    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/event-interface.html:55:3
Asserts runNo asserts ran
Failcommand set to []CommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:61:19)
    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/event-interface.html:60:3
Asserts runNo asserts ran
Failcommand set to [1, 2, 3]CommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:66:19)
    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/event-interface.html:65:3
Asserts runNo asserts ran
Failcommand set to an objectCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:71:19)
    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/event-interface.html:70:3
Asserts runNo asserts ran
Failcommand set to an object with a toString functionCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:76:19)
    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/event-interface.html:75:3
Asserts runNo asserts ran
FailCommandEventInit properties set valueCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:88:19)
    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/event-interface.html:86:3
Asserts runNo asserts ran
FailCommandEventInit properties set value 2CommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:98:19)
    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/event-interface.html:93:3
Asserts runNo asserts ran
FailCommandEventInit properties set value 3CommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:108:19)
    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/event-interface.html:103:3
Asserts runNo asserts ran
Failsource set to undefinedCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:114:19)
    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/event-interface.html:113:3
Asserts runNo asserts ran
Failsource set to nullCommandEvent is not defined
ReferenceError: CommandEvent is not defined
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:119:19)
    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/event-interface.html:118:3
Asserts runNo asserts ran
Failsource set to falseassert_throws_js: source is not an object function "function () { new CommandEvent("test", { source: false }); }" threw object "ReferenceError: CommandEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:124: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/event-interface.html:123:3
Asserts run
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "function () {         new CommandEvent("test", { source: false });       }", "source is not an object")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/event-interface.html:124:5)
Failsource set to trueassert_throws_js: source is not an object function "function () { const event = new CommandEvent("test", { source: true }); }" threw object "ReferenceError: CommandEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:134: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/event-interface.html:133:3
Asserts run
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "function () {         const event = new CommandEvent("test", { source: true });       }", "source is not an object")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/event-interface.html:134:5)
Failsource set to {}assert_throws_js: source is not an object function "function () { const event = new CommandEvent("test", { source: {} }); }" threw object "ReferenceError: CommandEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:144: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/event-interface.html:143:3
Asserts run
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "function () {         const event = new CommandEvent("test", { source: {} });       }", "source is not an object")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/event-interface.html:144:5)
Failsource set to non-Element EventTargetassert_throws_js: source is not an Element function "function () { const eventInit = { command: "closed", source: new XMLHttpRequest() }; const event = new CommandEvent("toggle", eventInit); }" threw object "ReferenceError: CommandEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/event-interface.html:154: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/event-interface.html:153:3
Asserts run
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "function () {         const eventInit = { command: "closed", source: new XMLHttpRequest() };         const event = new CommandEvent("toggle", eventInit);       }", "source is not an Element")
    at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/event-interface.html:154:5)