<html>
    <body onload='runTest()'> 
        <script>
        function runTest() {
            document.designMode='on';
            window.parent.setTimeout(function() { 
                window.focus();
            }, 0);
            window.focus();
        }
        </script>
        <iframe src='iframe-focus-crash.html'></iframe>
        <html onfocusout="window.document.writeln();"></html>
    </body>
</html>
