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

window.onload = function() {
    document.designMode="on";
    document.execCommand("selectall");
    document.execCommand("InsertText", false);
    document.open();
    document.write("This test ensures that selecting all and inserting text into a page with a frameset does not crash<br><br>PASS");
};
</script>
<frameset><frame></frame></frameset>
</html>
