Pass | Attrs are subclasses of Nodes | Asserts runPass | assert_true(true, "attribute instances are instances of Node")
at Test.<anonymous> ( /dom/attributes-are-nodes.html:15:3) | Pass | assert_true(true, "attribute instances are instances of Node")
at Test.<anonymous> ( /dom/attributes-are-nodes.html:16:3) |
|
Pass | appendChild with an attribute as the child should fail | Asserts runPass | assert_throws_dom("HierarchyRequestError", function "() => { parent.appendChild(attribute); }")
at Test.<anonymous> ( /dom/attributes-are-nodes.html:25:3) |
|
Pass | replaceChild with an attribute as the child should fail | Asserts runPass | assert_throws_dom("HierarchyRequestError", function "() => { parent.replaceChild(attribute, parent.firstChild); }")
at Test.<anonymous> ( /dom/attributes-are-nodes.html:37:3) |
|
Pass | insertBefore with an attribute as the child should fail | Asserts runPass | assert_throws_dom("HierarchyRequestError", function "() => { parent.insertBefore(attribute, parent.firstChild); }")
at Test.<anonymous> ( /dom/attributes-are-nodes.html:49:3) |
|