blob: ab82ea9866f9d51f8ab7da07426a970f4a36115a [file] [log] [blame]
<p>This tests that calling HTMLDocument.hasFocus() on a frameless HTMLDocument does not crash.</p>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
var newDoc = document.implementation.createHTMLDocument("");
newDoc.hasFocus();
</script>