<p>Double-click the word "dolor" to select it, then drag the selection to
between "lorem" and "ipsum". There should be no assertion failure in a
debug build.</p>

<input id="foo" type="search" value="lorem ipsum dolor">
<script>
function test()
{

}
</script>