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