OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 FAIL Document.prepend() without any argument, on a Document having no child. par
ent.prepend is not a function |
| 3 FAIL Document.prepend() with only one element as an argument, on a Document havi
ng no child. parent.prepend is not a function |
| 4 FAIL Document.append() with only one element as an argument, on a Document havin
g one child. assert_throws: function "function () { parent.prepend(y); }" threw
object "TypeError: parent.prepend is not a function" that is not a DOMException
HierarchyRequestError: property "code" is equal to undefined, expected 3 |
| 5 FAIL Document.prepend() with text as an argument, on a Document having no child.
assert_throws: function "function () { parent.prepend('text'); }" threw object
"TypeError: parent.prepend is not a function" that is not a DOMException Hierarc
hyRequestError: property "code" is equal to undefined, expected 3 |
| 6 FAIL Document.prepend() with two elements as the argument, on a Document having
no child. assert_throws: function "function () { parent.prepend(x, y); }" threw
object "TypeError: parent.prepend is not a function" that is not a DOMException
HierarchyRequestError: property "code" is equal to undefined, expected 3 |
| 7 Harness: the test ran to completion. |
| 8 |
OLD | NEW |