blob: ac82efa6f2f4ab0ff326cdafe93fa0aed27d9f45 [file] [log] [blame]
If this doesn't crash, then the test passes.
<div id=foo>foo</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var foo = document.getElementById('foo');
window.getSelection().selectAllChildren(foo);
foo.style.display = 'none';
window.getSelection().removeAllRanges();
</script>