OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../../resources/js-test.js"></script> | |
3 <script> | |
4 description('Calling textSurroundingNode() on a detached node without crashing') ; | |
5 | |
6 if (window.internals) { | |
7 var node = document.createElement("p"); | |
8 shouldBeEmptyString('window.internals.textSurroundingNode(node, 0, 0, 0)'); | |
9 } | |
10 </script> | |
OLD | NEW |