This test checks some DOM Range exceptions.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS node.innerHTML is 'ABCDE'
PASS foo.outerHTML is ''
PASS range.surroundContents(foo) threw exception Error: INVALID_NODE_TYPE_ERR: DOM Range Exception 2.
PASS r.surroundContents(document.createElement('a')) threw exception Error: BAD_BOUNDARYPOINTS_ERR: DOM Range Exception 1.
PASS r.surroundContents(document.createElement('a')) threw exception Error: HierarchyRequestError: DOM Exception 3.
PASS successfullyParsed is true
TEST COMPLETE