| OLD | NEW |
| 1 This test checks some DOM Range exceptions. | 1 This test checks some DOM Range exceptions. |
| 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 node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>' | 6 PASS node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>' |
| 7 PASS foo.outerHTML is '<foo></foo>' | |
| 8 PASS range.surroundContents(foo) threw exception InvalidNodeTypeError: The suppl
ied node is invalid or has an invalid ancestor for this operation.. | |
| 9 PASS r.surroundContents(document.createElement('a')) threw exception InvalidStat
eError: An attempt was made to use an object that is not, or is no longer, usabl
e.. | 7 PASS r.surroundContents(document.createElement('a')) threw exception InvalidStat
eError: An attempt was made to use an object that is not, or is no longer, usabl
e.. |
| 10 PASS r.surroundContents(document.createElement('a')) threw exception HierarchyRe
questError: A Node was inserted somewhere it doesn't belong.. | 8 PASS r.surroundContents(document.createElement('a')) threw exception HierarchyRe
questError: A Node was inserted somewhere it doesn't belong.. |
| 11 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
| 12 | 10 |
| 13 TEST COMPLETE | 11 TEST COMPLETE |
| 14 | 12 |
| OLD | NEW |