| Index: LayoutTests/editing/surrounding-text/surrounding-text-detached-no-crash.html
|
| diff --git a/LayoutTests/editing/surrounding-text/surrounding-text-detached-no-crash.html b/LayoutTests/editing/surrounding-text/surrounding-text-detached-no-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9e6d72642ca552b43171779b5cdf63cf5725c0aa
|
| --- /dev/null
|
| +++ b/LayoutTests/editing/surrounding-text/surrounding-text-detached-no-crash.html
|
| @@ -0,0 +1,10 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<script>
|
| +description('Calling textSurroundingNode() on a detached node without crashing');
|
| +
|
| +if (window.internals) {
|
| + var node = document.createElement("p");
|
| + shouldBeEmptyString('window.internals.textSurroundingNode(node, 0, 0, 0)');
|
| +}
|
| +</script>
|
|
|