2 <script src=
"../../resources/js-test.js"></script>
4 description('Calling textSurroundingNode() on a detached node without crashing');
6 if (window
.internals
) {
7 var node
= document
.createElement("p");
8 shouldBeEmptyString('window.internals.textSurroundingNode(node, 0, 0, 0)');