<script>
if (window.testRunner)
     testRunner.dumpEditingCallbacks();
</script>
<p>In the block below, the second 'bar ' should be selected.</p>
<div style="border: 1px solid black; width:50px;">foo bar <span>bar</span> baz</div>

<script>
document.execCommand("FindString", false, "bar ");
document.execCommand("FindString", false, "bar ");
document.execCommand("FindString", false, "bar ");
</script>
