blob: 488706abe2809a0ce8246de19391e7ccb2d171dc [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();
getSelection().setBaseAndExtent(body, 0, body, body.childNodes.length);
}
</script>