<!DOCTYPE html>
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

onload = function() {
    getSelection().collapse(document.body, 0);
    document.body.parentNode.removeChild(document.body);
    document.designMode = 'on';
    document.execCommand("InsertText", false, '\t');
    document.documentElement.textContent = 'PASS if not crash.';
}
</script>
</head>
<body>
</body>
</html>
