Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
PassWebIDL tests
Asserts run
Pass
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)
PassAppending to a leaf node.
Asserts runNo asserts ran
PassAppending null to a text node
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() { node.appendChild(null) }")
    at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:14:5)
PassAppending to a text node
Asserts run
Pass
assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function() { node.appendChild(document.createTextNode("fail")) }")
    at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:19:5)
PassAppending null to a comment
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() { node.appendChild(null) }")
    at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:14:5)
PassAppending to a comment
Asserts run
Pass
assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function() { node.appendChild(document.createTextNode("fail")) }")
    at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:19:5)
PassAppending null to a doctype
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() { node.appendChild(null) }")
    at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:14:5)
PassAppending to a doctype
Asserts run
Pass
assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function() { node.appendChild(document.createTextNode("fail")) }")
    at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:19:5)
PassAppending a document
Asserts run
Pass
assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function() { document.body.appendChild(frameDoc) }")
    at Test.<anonymous> ( /dom/nodes/Node-appendChild.html:39:3)
PassAdopting an orphan
Asserts run
Pass
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)
PassAdopting a non-orphan
Asserts run
Pass
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)