chromium/third_party/blink/web_tests/fast/dom/HTMLDocument/hasFocus-frameless-crash.html

<p>This tests that calling HTMLDocument.hasFocus() on a frameless HTMLDocument does not crash.</p>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();

    var newDoc = document.implementation.createHTMLDocument("");
    newDoc.hasFocus();
</script>