Sign in
webkit
/
WebKit
/
8e29b3d7cb791dc7cac89a3f1ad250bef2d6f1cb
/
.
/
LayoutTests
/
fast
/
dom
/
HTMLDocument
/
hasFocus-frameless-crash.html
blob: 27c5e8145dab8532313e4f9aa0ae8db52d5494ce [
file
] [
log
] [
blame
]
<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>