Pass | WebIDL tests | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.body.appendChild(null) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:25:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.body.appendChild({'a':'b'}) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:26:3) |
|
Pass | Appending to a leaf node. | Asserts runNo asserts ran |
Pass | Appending null to a text node | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { node.appendChild(null) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:14:5) |
|
Pass | Appending to a text node | Asserts runPass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function() { node.appendChild(document.createTextNode("fail")) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:19:5) |
|
Pass | Appending null to a comment | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { node.appendChild(null) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:14:5) |
|
Pass | Appending to a comment | Asserts runPass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function() { node.appendChild(document.createTextNode("fail")) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:19:5) |
|
Pass | Appending null to a doctype | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { node.appendChild(null) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:14:5) |
|
Pass | Appending to a doctype | Asserts runPass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function() { node.appendChild(document.createTextNode("fail")) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:19:5) |
|
Pass | Appending a document | Asserts runPass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function() { document.body.appendChild(frameDoc) }")
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:39:3) |
|
Pass | Adopting an orphan | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:46:3) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:48:3) |
|
Pass | Adopting a non-orphan | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:53:3) | Pass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:55:3) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:57:3) |
|