blob: b89c8be1e30e59197bee7339d1fe9cb84c7f8e7d [file] [log] [blame]
<p>This tests for an ASSERTion failure when setting the main frame's selection inside a node in a subframe.</p>
<iframe src="data:text/html, <body contenteditable='true'>hello world</div>"></iframe>
<script>
window.onload = function() {
var body = frames[0].document.body;
frames[0].focus();
frames[0].getSelection().setBaseAndExtent(body, 0, body, body.childNodes.length);
}
</script>