Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassAdopting an Element called 'x<' should work.
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 0 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 0 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:13:3)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:14:3)
Pass
assert_equals(Element node <x<>x</x<>, Element node <x<>x</x<>)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:15:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:16:3)
Pass
assert_equals(Text node "x", Text node "x")
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:17:3)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:18:3)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:19:3)
Pass
assert_equals(Element node <x<>x</x<>, Element node <x<>x</x<>)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:21:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:22:3)
Pass
assert_equals(Text node "x", Text node "x")
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:23:3)
Pass
assert_equals(Document node with 0 children, Document node with 0 children)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:24:3)
Pass
assert_equals(Document node with 0 children, Document node with 0 children)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:25:3)
PassAdopting an Element called ':good:times:' should work.
Asserts run
Pass
assert_equals(Element node <:good:times:></:good:times:>, Element node <:good:times:></:good:times:>)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:30:3)
Pass
assert_equals(Element node <:good:times:></:good:times:>, Element node <:good:times:></:good:times:>)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:32:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:33:3)
Pass
assert_equals(Document node with 0 children, Document node with 0 children)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:34:3)
PassExplicitly adopting a DocumentType should work.
Asserts run
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:39:3)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:40:3)
Pass
assert_equals(DocumentType node, DocumentType node)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:41:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:42:3)
Pass
assert_equals(Document node with 1 child, Document node with 1 child)
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:43:3)
PassAdopting a Document should throw.
Asserts run
Pass
assert_throws_dom("NOT_SUPPORTED_ERR", function "function() { document.adoptNode(doc) }")
    at Test.<anonymous> ( /dom/nodes/Document-adoptNode.html:48:3)