<html>
    <head>
        <script>
        if (window.testRunner)
            testRunner.dumpAsText(true);
        </script>
    </head>
    <body>
        <div>This tests that setting focus to a removed frame does not cause a crash. The test passes if it does not crash.</div>
        <iframe src='resources/iframe-focus-crash.html'></iframe>
    </body>
</html>