Node-removeChild.html

FAILExpected23 of 28 subtests pass465 ms

Details

Test
/dom/nodes/Node-removeChild.html
Harness
OK

Subtests

StatusSubtestMessage
PASSPassing a detached element from the main document to removeChild should not affect it.
PASSPassing a non-detached element from the main document to removeChild should not affect it.
PASSCalling removeChild on a element from the main document with no children should throw NOT_FOUND_ERR.
PASSPassing a detached text from the main document to removeChild should not affect it.
PASSPassing a non-detached text from the main document to removeChild should not affect it.
PASSCalling removeChild on a text from the main document with no children should throw NOT_FOUND_ERR.
PASSPassing a detached comment from the main document to removeChild should not affect it.
PASSPassing a non-detached comment from the main document to removeChild should not affect it.
PASSCalling removeChild on a comment from the main document with no children should throw NOT_FOUND_ERR.
PASSPassing a detached element from a frame document to removeChild should not affect it.
PASSPassing a non-detached element from a frame document to removeChild should not affect it.
FAILCalling removeChild on a element from a frame document with no children should throw NOT_FOUND_ERR.
assert_throws_dom: function "function() { s.removeChild(doc) }" threw object "TypeError: kitesurf: not yet supported in this sandbox (Day 6) (tried to set/call 'removeChild: invalid child')" that is n…
assert_throws_dom: function "function() { s.removeChild(doc) }" threw object "TypeError: kitesurf: not yet supported in this sandbox (Day 6) (tried to set/call 'removeChild: invalid child')" that is n…
PASSPassing a detached text from a frame document to removeChild should not affect it.
PASSPassing a non-detached text from a frame document to removeChild should not affect it.
FAILCalling removeChild on a text from a frame document with no children should throw NOT_FOUND_ERR.
assert_throws_dom: function "function() { s.removeChild(doc) }" threw object "TypeError: kitesurf: not yet supported in this sandbox (Day 6) (tried to set/call 'removeChild: invalid child')" that is n…
assert_throws_dom: function "function() { s.removeChild(doc) }" threw object "TypeError: kitesurf: not yet supported in this sandbox (Day 6) (tried to set/call 'removeChild: invalid child')" that is n…
FAILPassing a detached comment from a frame document to removeChild should not affect it.
doc[creator] is not a function
doc[creator] is not a function
FAILPassing a non-detached comment from a frame document to removeChild should not affect it.
doc[creator] is not a function
doc[creator] is not a function
FAILCalling removeChild on a comment from a frame document with no children should throw NOT_FOUND_ERR.
doc[creator] is not a function
doc[creator] is not a function
PASSPassing a detached element from a synthetic document to removeChild should not affect it.
PASSPassing a non-detached element from a synthetic document to removeChild should not affect it.
PASSCalling removeChild on a element from a synthetic document with no children should throw NOT_FOUND_ERR.
PASSPassing a detached text from a synthetic document to removeChild should not affect it.
PASSPassing a non-detached text from a synthetic document to removeChild should not affect it.
PASSCalling removeChild on a text from a synthetic document with no children should throw NOT_FOUND_ERR.
PASSPassing a detached comment from a synthetic document to removeChild should not affect it.
PASSPassing a non-detached comment from a synthetic document to removeChild should not affect it.
PASSCalling removeChild on a comment from a synthetic document with no children should throw NOT_FOUND_ERR.
PASSPassing a value that is not a Node reference to removeChild should throw TypeError.