<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
This tests that trying to focus a frame that is display:none will not crash.<br>
<iframe src="resources/iframe-focus.html" style="display: none"></iframe>
