This is a testharness.js-based test.
PASS HTMLSlotElement must be defined on window
PASS "name" attribute on HTMLSlotElement must reflect "name" attribute
PASS assignedNodes() on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
PASS assignedNodes({"flattened":false}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
PASS assignedNodes({"flattened":true}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
FAIL assignedNodes() must return the list of assigned nodes when none of the assigned nodes themselves are slots assert_array_equals: assignedNodes() on a default slot must return an element without slot element lengths differ, expected 1 got 0
FAIL assignedNodes({"flattened":false}) must return the list of assigned nodes when none of the assigned nodes themselves are slots assert_array_equals: assignedNodes() on a default slot must return an element without slot element lengths differ, expected 1 got 0
FAIL assignedNodes({"flattened":true}) must return the list of assigned nodes when none of the assigned nodes themselves are slots assert_array_equals: assignedNodes() on a default slot must return an element without slot element lengths differ, expected 1 got 0
FAIL assignedNodes() must update when slot and name attributes are modified assert_array_equals: assignedNodes must return the distributed nodes lengths differ, expected 2 got 0
FAIL assignedNodes({"flattened":false}) must update when slot and name attributes are modified assert_array_equals: assignedNodes must return the distributed nodes lengths differ, expected 2 got 0
FAIL assignedNodes({"flattened":true}) must update when slot and name attributes are modified assert_array_equals: assignedNodes must return the distributed nodes lengths differ, expected 2 got 0
FAIL assignedNodes() must update when a default slot is introduced dynamically by a slot rename assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected 1 got 0
FAIL assignedNodes({"flattened":false}) must update when a default slot is introduced dynamically by a slot rename assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected 1 got 0
FAIL assignedNodes({"flattened":true}) must update when a default slot is introduced dynamically by a slot rename assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected 1 got 0
FAIL assignedNodes() must update when slot elements are inserted or removed assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected 3 got 0
FAIL assignedNodes({"flattened":false}) must update when slot elements are inserted or removed assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected 3 got 0
FAIL assignedNodes({"flattened":true}) must update when slot elements are inserted or removed assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected 3 got 0
FAIL assignedNodes({flatten: true}) must return the distributed nodes, and assignedNodes() and assignedNodes({flatten: false}) must returned the assigned nodes assert_array_equals: assignedNodes() on a default slot must return the assigned nodes lengths differ, expected 1 got 0
Harness: the test ran to completion.

