blob: 2573b3dac80c1ebf2f1afc562a9a6fded4d4b923 [file] [log] [blame]
<script>
onload = () => {
if (window.testRunner)
testRunner.dumpAsText();
document.documentElement.removeChild(document.head);
let input = document.createElement('input');
document.documentElement.appendChild(input);
getSelection().setBaseAndExtent(input, 0, input, 0);
document.body.innerHTML = "<object><object><object><object><div></div></object></object></object></object>";
getSelection().modify('move', 'backward', 'sentence');
document.body.innerHTML = "This test passes if it does not crash.";
};
</script>