Fail | commandForElement reflects invokee HTML element | assert_equals: expected (object) Element node <div id="invokee"></div> but got (undefined) undefined at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:13: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/interface.html:12:3 Asserts runFail | assert_equals(undefined, Element node <div id="invokee"></div>)
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:13:5) |
|
Fail | commandForElement reflects set value | assert_equals: expected "" but got "invokee" at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:20: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/interface.html:16:3 Asserts runPass | assert_equals(Element node <div></div>, Element node <div></div>)
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:19:5) | Fail | assert_equals("invokee", "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:20:5) |
|
Fail | commandForElement reflects set value across shadow root into light dom | assert_equals: expected "" but got "invokee" at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:30: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/interface.html:24:3 Asserts runPass | assert_equals(Element node <div id="invokee"></div>, Element node <div id="invokee"></div>)
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:29:5) | Fail | assert_equals("invokee", "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:30:5) |
|
Fail | commandForElement does not reflect set value inside shadowroot | assert_equals: expected null but got Element node <div></div> at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:39: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/interface.html:34:3 Asserts runFail | assert_equals(Element node <div></div>, null)
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:39:5) |
|
Fail | commandForElement throws error on assignment of non Element | assert_throws_js: commandForElement attribute must be an instance of Element function "function () {
invoker.commandForElement = {};
}" did not throw at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:45: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/interface.html:44:3 Asserts runFail | assert_throws_js(function "function TypeError() { [native code] }", function "function () { invoker.commandForElement = {}; }", "commandForElement attribute must be an instance of Element")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:45:5) |
|
Fail | command reflects '' when attribute empty, setAttribute version | assert_equals: expected (string) "" but got (undefined) undefined at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:57: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/interface.html:54:3 Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:56:5) | Fail | assert_equals(undefined, "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:57:5) |
|
Fail | command reflects correctly for invalid | assert_equals: expected "fooBarBaz" but got "" at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:62: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/interface.html:60:3 Asserts runFail | assert_equals("", "fooBarBaz")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:62:5) |
|
Pass | command reflects '' when attribute empty, IDL version | Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:68:5) | Pass | assert_equals("", "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:69:5) |
|
Fail | command reflects correctly for invalid when array | assert_equals: expected "1,2,3" but got "" at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:74: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/interface.html:72:3 Asserts runFail | assert_equals("", "1,2,3")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:74:5) |
|
Fail | command reflects '' when attribute set to [] | assert_equals: expected (string) "" but got (object) [] at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:81: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/interface.html:78:3 Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:80:5) | Fail | assert_equals([], "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:81:5) |
|
Fail | command reflects correctly for invalid when object | assert_equals: expected (string) "" but got (object) object "[object Object]" at Test.<anonymous> (https://wpt.live/html/semantics/the-button-element/command-and-commandfor/interface.html:86: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/interface.html:84:3 Asserts runFail | assert_equals(object "[object Object]", "")
at Test.<anonymous> ( /html/semantics/the-button-element/command-and-commandfor/interface.html:86:5) |
|