| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 PASS Calling insertBefore with a non-Node first argument must throw TypeError. | 2 PASS Calling insertBefore with a non-Node first argument must throw TypeError. |
| 3 PASS Calling insertBefore with a non-Node first argument on a leaf node Document
Type must throw TypeError. | 3 PASS Calling insertBefore with a non-Node first argument on a leaf node Document
Type must throw TypeError. |
| 4 PASS Calling insertBefore an a leaf node DocumentType must throw HIERARCHY_REQUE
ST_ERR. | 4 PASS Calling insertBefore an a leaf node DocumentType must throw HIERARCHY_REQUE
ST_ERR. |
| 5 PASS Calling insertBefore with a non-Node first argument on a leaf node Text mus
t throw TypeError. | 5 PASS Calling insertBefore with a non-Node first argument on a leaf node Text mus
t throw TypeError. |
| 6 PASS Calling insertBefore an a leaf node Text must throw HIERARCHY_REQUEST_ERR. | 6 PASS Calling insertBefore an a leaf node Text must throw HIERARCHY_REQUEST_ERR. |
| 7 PASS Calling insertBefore with a non-Node first argument on a leaf node Comment
must throw TypeError. | 7 PASS Calling insertBefore with a non-Node first argument on a leaf node Comment
must throw TypeError. |
| 8 PASS Calling insertBefore an a leaf node Comment must throw HIERARCHY_REQUEST_ER
R. | 8 PASS Calling insertBefore an a leaf node Comment must throw HIERARCHY_REQUEST_ER
R. |
| 9 PASS Calling insertBefore with a non-Node first argument on a leaf node Processi
ngInstruction must throw TypeError. | 9 PASS Calling insertBefore with a non-Node first argument on a leaf node Processi
ngInstruction must throw TypeError. |
| 10 PASS Calling insertBefore an a leaf node ProcessingInstruction must throw HIERAR
CHY_REQUEST_ERR. | 10 PASS Calling insertBefore an a leaf node ProcessingInstruction must throw HIERAR
CHY_REQUEST_ERR. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 doc.insertBefore(doctype, comment); | 32 doc.insertBefore(doctype, comment); |
| 33 }" did not throw | 33 }" did not throw |
| 34 FAIL If the context node is a document with and element child, appending a docty
pe should throw a HierarchyRequestError. assert_throws: function "function () { | 34 FAIL If the context node is a document with and element child, appending a docty
pe should throw a HierarchyRequestError. assert_throws: function "function () { |
| 35 doc.insertBefore(doctype, null); | 35 doc.insertBefore(doctype, null); |
| 36 }" did not throw | 36 }" did not throw |
| 37 PASS If the context node is a DocumentFragment, inserting a document or a doctyp
e should throw a HierarchyRequestError. | 37 PASS If the context node is a DocumentFragment, inserting a document or a doctyp
e should throw a HierarchyRequestError. |
| 38 PASS If the context node is an element, inserting a document or a doctype should
throw a HierarchyRequestError. | 38 PASS If the context node is an element, inserting a document or a doctype should
throw a HierarchyRequestError. |
| 39 PASS Inserting a node before itself should not move the node | 39 PASS Inserting a node before itself should not move the node |
| 40 Harness: the test ran to completion. | 40 Harness: the test ran to completion. |
| 41 | 41 |
| OLD | NEW |