Pass | Document.append() without any argument, on a Document having no child. | Asserts runPass | assert_array_equals(object "[object NodeList]", [])
at Test.<anonymous> ( /dom/nodes/append-on-Document.html:15:9) |
|
Pass | Document.append() with only one element as an argument, on a Document having no child. | Asserts runPass | assert_array_equals(object "[object NodeList]", [Element node <x></x>])
at Test.<anonymous> ( /dom/nodes/append-on-Document.html:22:9) |
|
Pass | Document.append() with only one element as an argument, on a Document having one child. | Asserts runPass | 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) |
|
Pass | Document.append() with text as an argument, on a Document having no child. | Asserts runPass | 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) |
|
Pass | Document.append() with two elements as the argument, on a Document having no child. | Asserts runPass | 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) |
|