Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / surrounding-text / surrounding-text-detached-no-crash.html
blob9e6d72642ca552b43171779b5cdf63cf5725c0aa
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <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)');
10 </script>