Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassDocument.append() without any argument, on a Document having no child.
Asserts run
Pass
assert_array_equals(object "[object NodeList]", [])
    at Test.<anonymous> ( /dom/nodes/append-on-Document.html:15:9)
PassDocument.append() with only one element as an argument, on a Document having no child.
Asserts run
Pass
assert_array_equals(object "[object NodeList]", [Element node <x></x>])
    at Test.<anonymous> ( /dom/nodes/append-on-Document.html:22:9)
PassDocument.append() with only one element as an argument, on a Document having one child.
Asserts run
Pass
assert_throws_dom("HierarchyRequestError", function "function() { parent.append(y); }")
    at Test.<anonymous> ( /dom/nodes/append-on-Document.html:30:9)
Pass
assert_array_equals(object "[object NodeList]", [Element node <x></x>])
    at Test.<anonymous> ( /dom/nodes/append-on-Document.html:31:9)
PassDocument.append() with text as an argument, on a Document having no child.
Asserts run
Pass
assert_throws_dom("HierarchyRequestError", function "function() { parent.append('text'); }")
    at Test.<anonymous> ( /dom/nodes/append-on-Document.html:36:9)
Pass
assert_array_equals(object "[object NodeList]", [])
    at Test.<anonymous> ( /dom/nodes/append-on-Document.html:37:9)
PassDocument.append() with two elements as the argument, on a Document having no child.
Asserts run
Pass
assert_throws_dom("HierarchyRequestError", function "function() { parent.append(x, y); }")
    at Test.<anonymous> ( /dom/nodes/append-on-Document.html:44:9)
Pass
assert_array_equals(object "[object NodeList]", [])
    at Test.<anonymous> ( /dom/nodes/append-on-Document.html:45:9)