haikuwebkit/LayoutTests/fast/text/find-layout-crash.html

27 lines
532 B
HTML

<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<p>Test case for
<a href="https://bugs.webkit.org/show_bug.cgi?id=32842"
>https://bugs.webkit.org/show_bug.cgi?id=26088</a>.
The test passes if there is no crash.
<TEXTAREA id="container">
sit
</TEXTAREA>down
<SCRIPT>
document.execCommand("FindString", true, "s");
document.execCommand("FindString", true, "n");
</SCRIPT>
<STYLE></STYLE>
<script type="text/javascript">
e=document.getElementById('container');
e.innerHTML="";
</script>