Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / 4960137.html
blobb89c8be1e30e59197bee7339d1fe9cb84c7f8e7d
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>
3 <script>
4 window.onload = function() {
5 var body = frames[0].document.body;
6 frames[0].focus();
7 frames[0].getSelection().setBaseAndExtent(body, 0, body, body.childNodes.length);
9 </script>