| OLD | NEW |
| 1 Test behavior of Document.replaceChild() when oldChild is null. | 1 Test behavior of Document.replaceChild() when oldChild is null. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS document.replaceChild(document.firstChild, null) threw exception NotFoundEr
ror: An attempt was made to reference a Node in a context where it does not exis
t.. | 6 PASS document.replaceChild(document.firstChild, null) threw exception NotFoundEr
ror: Failed to execute 'replaceChild' on 'ContainerNode': The node to be replace
d is null.. |
| 7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
| 8 | 8 |
| 9 TEST COMPLETE | 9 TEST COMPLETE |
| 10 | 10 |
| OLD | NEW |