Pass | doctype should support remove() | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:3:5) | Pass | assert_equals("function", "function")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:4:5) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:5:5) |
|
Pass | remove() should work if doctype doesn't have a parent | Asserts runPass | assert_equals(null, null, "Node should not have a parent")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:8:5) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:9:5) | Pass | assert_equals(null, null, "Removed new node should not have a parent")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:10:5) |
|
Pass | remove() should work if doctype does have a parent | Asserts runPass | assert_equals(null, null, "Node should not have a parent")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:13:5) | Pass | assert_equals(Document node with 1 child, Document node with 1 child, "Appended node should have a parent")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:15:5) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:16:5) | Pass | assert_equals(null, null, "Removed node should not have a parent")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:17:5) | Pass | assert_array_equals(object "[object NodeList]", [], "Parent should not have children")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:18:5) |
|
Pass | remove() should work if doctype does have a parent and siblings | Asserts runPass | assert_equals(null, null, "Node should not have a parent")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:21:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "Appended node should have a parent")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:25:5) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:26:5) | Pass | assert_equals(null, null, "Removed node should not have a parent")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:27:5) | Pass | assert_array_equals(object "[object NodeList]", [Comment node <!--before-->, Comment node <!--after-->], "Parent should have two children left")
at Test.<anonymous> ( /dom/nodes/ChildNode-remove.js:28:5) |
|