| 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: Failed to execute 'replaceChild' on 'Node': The node to be replaced is null
.. | 6 PASS document.replaceChild(document.firstChild, null) threw exception TypeError:
Failed to execute 'replaceChild' on 'Node': parameter 2 is not of type 'Node'.. |
| 7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
| 8 | 8 |
| 9 TEST COMPLETE | 9 TEST COMPLETE |
| 10 | 10 |
| OLD | NEW |