blob: 047532cb7c105475705cde3b7dbbddacfa6db410 [file] [log] [blame]
This tests for HIERARCHY_REQUEST_ERRs when calling Range.surroundContents().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS range.surroundContents(select) threw exception HierarchyRequestError: The operation would yield an incorrect node tree..
PASS range.surroundContents(insert) did not throw exception.
PASS successfullyParsed is true
TEST COMPLETE