Summary

Harness status: OK

Found 18 tests

Details

ResultTest NameMessage
PassHTMLSlotElement must be defined on window
Asserts run
Pass
assert_true(true, "HTMLSlotElement must be defined on window")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:16:5)
Pass
assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "HTMLSlotElement should inherit from HTMLElement")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:17:5)
Pass
assert_true(true, "slot element should be an instance of HTMLSlotElement")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:18:5)
Pass
assert_true(true, "slot element should be an instance of HTMLElement")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:19:5)
Pass"name" attribute on HTMLSlotElement must reflect "name" attribute
Asserts run
Pass
assert_true(true, "\"name\" attribute must be defined on HTMLSlotElement.prototype")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:23:5)
Pass
assert_equals("", "", "\"name\" attribute must return the empty string when \"name\" content attribute is not set")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:26:5)
Pass
assert_equals("foo", "foo", "\"name\" attribute must return the value of the \"name\" content attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:29:5)
Pass
assert_equals("bar", "bar", "\"name\" attribute must return the assigned value")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:32:5)
Pass
assert_equals("bar", "bar", "\"name\" attribute must update the \"name\" content attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:33:5)
PassassignedNodes() on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
Asserts run
Pass
assert_true(true, "\"assignedNodes\" method must be defined on HTMLSlotElement.prototype")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:39:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when the slot element is not in any tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:42:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when the slot element is in a document tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:45:9)
PassassignedNodes({"flattened":false}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
Asserts run
Pass
assert_true(true, "\"assignedNodes\" method must be defined on HTMLSlotElement.prototype")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:39:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when the slot element is not in any tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:42:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when the slot element is in a document tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:45:9)
PassassignedNodes({"flattened":true}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
Asserts run
Pass
assert_true(true, "\"assignedNodes\" method must be defined on HTMLSlotElement.prototype")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:39:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when the slot element is not in any tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:42:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when the slot element is in a document tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:45:9)
PassassignedNodes() must return the list of assigned nodes when none of the assigned nodes themselves are slots
Asserts run
Pass
assert_true(true, "\"assignedNodes\" method must be defined on HTMLSlotElement.prototype")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:58:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when there are no nodes in the shadow tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:67:9)
Pass
assert_array_equals([Element node <p></p>], [Element node <p></p>], "assignedNodes() on a default slot must return an element without slot element")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:70:9)
Pass
assert_array_equals([], [], "assignedNodes() on a default slot must not return an element with non-empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:73:9)
Pass
assert_array_equals([Element node <p slot=""></p>], [Element node <p slot=""></p>], "assignedNodes() on a default slot must return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:76:9)
Pass
assert_array_equals([], [], "assignedNodes() on a named slot must not return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:79:9)
Pass
assert_array_equals([Element node <p slot=""></p>], [Element node <p slot=""></p>], "assignedNodes() on an empty name slot must return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:82:9)
PassassignedNodes({"flattened":false}) must return the list of assigned nodes when none of the assigned nodes themselves are slots
Asserts run
Pass
assert_true(true, "\"assignedNodes\" method must be defined on HTMLSlotElement.prototype")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:58:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when there are no nodes in the shadow tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:67:9)
Pass
assert_array_equals([Element node <p></p>], [Element node <p></p>], "assignedNodes() on a default slot must return an element without slot element")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:70:9)
Pass
assert_array_equals([], [], "assignedNodes() on a default slot must not return an element with non-empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:73:9)
Pass
assert_array_equals([Element node <p slot=""></p>], [Element node <p slot=""></p>], "assignedNodes() on a default slot must return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:76:9)
Pass
assert_array_equals([], [], "assignedNodes() on a named slot must not return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:79:9)
Pass
assert_array_equals([Element node <p slot=""></p>], [Element node <p slot=""></p>], "assignedNodes() on an empty name slot must return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:82:9)
PassassignedNodes({"flattened":true}) must return the list of assigned nodes when none of the assigned nodes themselves are slots
Asserts run
Pass
assert_true(true, "\"assignedNodes\" method must be defined on HTMLSlotElement.prototype")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:58:9)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when there are no nodes in the shadow tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:67:9)
Pass
assert_array_equals([Element node <p></p>], [Element node <p></p>], "assignedNodes() on a default slot must return an element without slot element")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:70:9)
Pass
assert_array_equals([], [], "assignedNodes() on a default slot must not return an element with non-empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:73:9)
Pass
assert_array_equals([Element node <p slot=""></p>], [Element node <p slot=""></p>], "assignedNodes() on a default slot must return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:76:9)
Pass
assert_array_equals([], [], "assignedNodes() on a named slot must not return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:79:9)
Pass
assert_array_equals([Element node <p slot=""></p>], [Element node <p slot=""></p>], "assignedNodes() on an empty name slot must return an element with empty slot attribute")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:82:9)
PassassignedNodes() must update when slot and name attributes are modified
Asserts run
Pass
assert_array_equals([Element node <p></p>, Element node <b></b>], [Element node <p></p>, Element node <b></b>], "assignedNodes must return the distributed nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:104:9)
Pass
assert_array_equals([], [], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:107:9)
Pass
assert_array_equals([Element node <b slot="foo"></b>], [Element node <b slot="foo"></b>], "assignedNodes must return the nodes with the matching slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:110:9)
Pass
assert_array_equals([Element node <p slot="foo"></p>, Element node <b slot="foo"></b>], [Element node <p slot="foo"></p>, Element node <b slot="foo"></b>], "assignedNodes must return the nodes with the matching slot name in the tree order")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:113:9)
Pass
assert_array_equals([], [], "assignedNodes must be empty for a default slot when all elements have \"slot\" attributes specified")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:116:9)
PassassignedNodes({"flattened":false}) must update when slot and name attributes are modified
Asserts run
Pass
assert_array_equals([Element node <p></p>, Element node <b></b>], [Element node <p></p>, Element node <b></b>], "assignedNodes must return the distributed nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:104:9)
Pass
assert_array_equals([], [], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:107:9)
Pass
assert_array_equals([Element node <b slot="foo"></b>], [Element node <b slot="foo"></b>], "assignedNodes must return the nodes with the matching slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:110:9)
Pass
assert_array_equals([Element node <p slot="foo"></p>, Element node <b slot="foo"></b>], [Element node <p slot="foo"></p>, Element node <b slot="foo"></b>], "assignedNodes must return the nodes with the matching slot name in the tree order")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:113:9)
Pass
assert_array_equals([], [], "assignedNodes must be empty for a default slot when all elements have \"slot\" attributes specified")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:116:9)
PassassignedNodes({"flattened":true}) must update when slot and name attributes are modified
Asserts run
Pass
assert_array_equals([Element node <p></p>, Element node <b></b>], [Element node <p></p>, Element node <b></b>], "assignedNodes must return the distributed nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:104:9)
Pass
assert_array_equals([], [], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:107:9)
Pass
assert_array_equals([Element node <b slot="foo"></b>], [Element node <b slot="foo"></b>], "assignedNodes must return the nodes with the matching slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:110:9)
Pass
assert_array_equals([Element node <p slot="foo"></p>, Element node <b slot="foo"></b>], [Element node <p slot="foo"></p>, Element node <b slot="foo"></b>], "assignedNodes must return the nodes with the matching slot name in the tree order")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:113:9)
Pass
assert_array_equals([], [], "assignedNodes must be empty for a default slot when all elements have \"slot\" attributes specified")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:116:9)
PassassignedNodes() must update when a default slot is introduced dynamically by a slot rename
Asserts run
Pass
assert_array_equals([], [], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:137:9)
Pass
assert_array_equals([Element node <span></span>], [Element node <span></span>], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:140:9)
PassassignedNodes({"flattened":false}) must update when a default slot is introduced dynamically by a slot rename
Asserts run
Pass
assert_array_equals([], [], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:137:9)
Pass
assert_array_equals([Element node <span></span>], [Element node <span></span>], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:140:9)
PassassignedNodes({"flattened":true}) must update when a default slot is introduced dynamically by a slot rename
Asserts run
Pass
assert_array_equals([], [], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:137:9)
Pass
assert_array_equals([Element node <span></span>], [Element node <span></span>], "assignedNodes must be empty when there are no matching elements for the slot name")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:140:9)
PassassignedNodes() must update when slot elements are inserted or removed
Asserts run
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on a default slot must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:172:9)
Pass
assert_array_equals([], [], "assignedNodes on the second unnamed slot element must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:174:9)
Pass
assert_array_equals([], [], "assignedNodes on a detached formerly-default slot must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:178:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on the second unnamed slot element after removing the first must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:180:9)
Pass
assert_array_equals([], [], "Removing and re-inserting a default slot must not change the result of assignedNodes on a detached slot")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:185:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "Removing and re-inserting a default slot must not change the result of assignedNodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:187:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on a newly inserted unnamed slot element must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:191:9)
Pass
assert_array_equals([], [], "assignedNodes on formerly-first but now second unnamed slot element must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:193:9)
PassassignedNodes({"flattened":false}) must update when slot elements are inserted or removed
Asserts run
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on a default slot must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:172:9)
Pass
assert_array_equals([], [], "assignedNodes on the second unnamed slot element must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:174:9)
Pass
assert_array_equals([], [], "assignedNodes on a detached formerly-default slot must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:178:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on the second unnamed slot element after removing the first must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:180:9)
Pass
assert_array_equals([], [], "Removing and re-inserting a default slot must not change the result of assignedNodes on a detached slot")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:185:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "Removing and re-inserting a default slot must not change the result of assignedNodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:187:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on a newly inserted unnamed slot element must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:191:9)
Pass
assert_array_equals([], [], "assignedNodes on formerly-first but now second unnamed slot element must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:193:9)
PassassignedNodes({"flattened":true}) must update when slot elements are inserted or removed
Asserts run
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on a default slot must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:172:9)
Pass
assert_array_equals([], [], "assignedNodes on the second unnamed slot element must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:174:9)
Pass
assert_array_equals([], [], "assignedNodes on a detached formerly-default slot must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:178:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on the second unnamed slot element after removing the first must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:180:9)
Pass
assert_array_equals([], [], "Removing and re-inserting a default slot must not change the result of assignedNodes on a detached slot")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:185:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "Removing and re-inserting a default slot must not change the result of assignedNodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:187:9)
Pass
assert_array_equals([Element node <p></p>, Text node "", Element node <b></b>], [Element node <p></p>, Text node "", Element node <b></b>], "assignedNodes on a newly inserted unnamed slot element must return the elements without slot attributes and text nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:191:9)
Pass
assert_array_equals([], [], "assignedNodes on formerly-first but now second unnamed slot element must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:193:9)
PassassignedNodes({flatten: true}) must return the distributed nodes, and assignedNodes() and assignedNodes({flatten: false}) must returned the assigned nodes
Asserts run
Pass
assert_array_equals([Element node <span></span>], [Element node <span></span>], "assignedNodes() on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:220:5)
Pass
assert_array_equals([Element node <span></span>], [Element node <span></span>], "assignedNodes({flatten: false}) on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:221:5)
Pass
assert_array_equals([Element node <span></span>], [Element node <span></span>], "assignedNodes({flatten: true}) on a default slot must return the assigned nodes if they are not themselves slots")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:222:5)
Pass
assert_array_equals([Element node <slot></slot>, Element node <b></b>], [Element node <slot></slot>, Element node <b></b>], "assignedNodes() on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:224:5)
Pass
assert_array_equals([Element node <slot></slot>, Element node <b></b>], [Element node <slot></slot>, Element node <b></b>], "assignedNodes({flatten: false}) on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:225:5)
Pass
assert_array_equals([Element node <span></span>, Element node <b></b>], [Element node <span></span>, Element node <b></b>], "assignedNodes({flatten: true}) on a default slot must return the distributed nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:226:5)
Pass
assert_array_equals([], [], "assignedNodes() on a named slot must return an empty array if there are no matching elements")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:229:5)
Pass
assert_array_equals([], [], "assignedNodes({flatten: false}) on a named slot must return an empty array if there are no matching elements")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:230:5)
Pass
assert_array_equals([], [], "assignedNodes({flatten: true}) on a named slot must return an empty array if there are no matching elements")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:231:5)
Pass
assert_array_equals([Element node <slot name="foo"></slot>, Element node <b></b>], [Element node <slot name="foo"></slot>, Element node <b></b>], "assignedNodes() on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:233:5)
Pass
assert_array_equals([Element node <slot name="foo"></slot>, Element node <b></b>], [Element node <slot name="foo"></slot>, Element node <b></b>], "assignedNodes({flatten: false}) on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:234:5)
Pass
assert_array_equals([Element node <b></b>], [Element node <b></b>], "assignedNodes({flatten: true}) on a default slot must return the distributed nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:235:5)
Pass
assert_array_equals([Element node <span slot="foo"></span>], [Element node <span slot="foo"></span>], "assignedNodes() on a named slot must return matching elements")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:238:5)
Pass
assert_array_equals([Element node <span slot="foo"></span>], [Element node <span slot="foo"></span>], "assignedNodes({flatten: false}) on a named slot must return matching elements")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:239:5)
Pass
assert_array_equals([Element node <span slot="foo"></span>], [Element node <span slot="foo"></span>], "assignedNodes({flatten: true}) on a named slot must return matching elements")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:240:5)
Pass
assert_array_equals([Element node <slot name="foo"></slot>, Element node <b></b>], [Element node <slot name="foo"></slot>, Element node <b></b>], "assignedNodes() on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:242:5)
Pass
assert_array_equals([Element node <slot name="foo"></slot>, Element node <b></b>], [Element node <slot name="foo"></slot>, Element node <b></b>], "assignedNodes({flatten: false}) on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:243:5)
Pass
assert_array_equals([Element node <span slot="foo"></span>, Element node <b></b>], [Element node <span slot="foo"></span>, Element node <b></b>], "assignedNodes({flatten: true}) on a default slot must return the distributed nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:244:5)
Pass
assert_array_equals([Element node <slot name="foo"></slot>, Element node <b></b>], [Element node <slot name="foo"></slot>, Element node <b></b>], "assignedNodes() on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:248:5)
Pass
assert_array_equals([Element node <slot name="foo"></slot>, Element node <b></b>], [Element node <slot name="foo"></slot>, Element node <b></b>], "assignedNodes({flatten: false}) on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:249:5)
Pass
assert_array_equals([Element node <span slot="foo"></span>, Element node <b></b>], [Element node <span slot="foo"></span>, Element node <b></b>], "assignedNodes({flatten: true}) on a default slot must return the distributed nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:250:5)
Pass
assert_array_equals([], [], "assignedNodes() on a nameless slot element which appears after a default slot must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:252:5)
Pass
assert_array_equals([], [], "assignedNodes({flatten: false}) on a nameless slot element which appears after a default slot must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:253:5)
Pass
assert_array_equals([], [], "assignedNodes({flatten: true}) on a nameless slot element which appears after a default slot must return an empty array")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:254:5)
Pass
assert_array_equals([], [], "assignedNodes() must return an empty array when the slot element is not in any tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:257:5)
Pass
assert_array_equals([], [], "assignedNodes({flatten: false}) must return an empty array when the slot element is not in any tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:258:5)
Pass
assert_array_equals([], [], "assignedNodes({flatten: true}) must return an empty array when the slot element is not in any tree")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:259:5)
Pass
assert_array_equals([Element node <slot name="foo"></slot>, Element node <b></b>], [Element node <slot name="foo"></slot>, Element node <b></b>], "assignedNodes() on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:261:5)
Pass
assert_array_equals([Element node <slot name="foo"></slot>, Element node <b></b>], [Element node <slot name="foo"></slot>, Element node <b></b>], "assignedNodes({flatten: false}) on a default slot must return the assigned nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:262:5)
Pass
assert_array_equals([Element node <span slot="foo"></span>, Element node <b></b>], [Element node <span slot="foo"></span>, Element node <b></b>], "assignedNodes({flatten: true}) on a default slot must return the distributed nodes")
    at Test.<anonymous> ( /shadow-dom/HTMLSlotElement-interface.html:263:5)