Pass | Passing a detached element from the main document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached element from the main document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a element from the main document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a detached text from the main document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached text from the main document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a text from the main document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a detached comment from the main document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached comment from the main document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a comment from the main document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a detached element from a frame document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached element from a frame document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a element from a frame document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a detached text from a frame document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached text from a frame document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a text from a frame document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a detached comment from a frame document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached comment from a frame document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a comment from a frame document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a detached element from a synthetic document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached element from a synthetic document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a element from a synthetic document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a detached text from a synthetic document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached text from a synthetic document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a text from a synthetic document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a detached comment from a synthetic document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:23:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:24:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:25:7) |
|
Pass | Passing a non-detached comment from a synthetic document to removeChild should not affect it. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:33:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function() { document.body.removeChild(s) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:34:7) | Pass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:35:7) |
|
Pass | Calling removeChild on a comment from a synthetic document with no children should throw NOT_FOUND_ERR. | Asserts runPass | assert_equals(Document node with 2 children, Document node with 2 children)
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:43:7) | Pass | assert_throws_dom("NOT_FOUND_ERR", function "function DOMException() { [native code] }", function "function() { s.removeChild(doc) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:44:7) |
|
Pass | Passing a value that is not a Node reference to removeChild should throw TypeError. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.body.removeChild(null) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:55:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.body.removeChild({'a':'b'}) }")
at Test.<anonymous> ( /dom/nodes/Node-removeChild.html:56:3) |
|