1 This test checks some DOM Range exceptions.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>'
7 PASS r.surroundContents(document.createElement('a')) threw exception InvalidStateError: Failed to execute 'surroundContents' on 'Range': The Range has partially selected a non-Text node..
8 PASS r.surroundContents(document.createElement('a')) threw exception HierarchyRequestError: Failed to execute 'surroundContents' on 'Range': The node to be inserted is a 'A' node, which may not be inserted here..
9 PASS successfullyParsed is true