| Index: LayoutTests/fast/text/caret-crash.html
|
| diff --git a/LayoutTests/fast/text/caret-crash.html b/LayoutTests/fast/text/caret-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..31cca15a9b4b569771520ed4728467525800af12
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/text/caret-crash.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE HTML>
|
| +<body>
|
| +This test passes if it does not crash.
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.dumpAsText();
|
| +
|
| + internals.settings.setCaretBrowsingEnabled(false);
|
| + testRunner.displayAsyncThen(function() {
|
| + internals.settings.setCaretBrowsingEnabled(true);
|
| + document.body.innerHTML += 'PASS';
|
| + testRunner.displayAsyncThen(function() {
|
| + testRunner.notifyDone();
|
| + });
|
| + });
|
| +} else {
|
| + document.body.textContent = 'This test needs DumpRenderTree.';
|
| +}
|
| +</script>
|
| +</body>
|
|
|