Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLDocument / hasFocus-frameless-crash.html
blob27c5e8145dab8532313e4f9aa0ae8db52d5494ce
1 <p>This tests that calling HTMLDocument.hasFocus() on a frameless HTMLDocument does not crash.</p>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 var newDoc = document.implementation.createHTMLDocument("");
7 newDoc.hasFocus();
8 </script>