Sign in
webkit
/
WebKit
/
7c2d2b06cff0bde1c85f11402729e2b90317522d
/
.
/
LayoutTests
/
fast
/
events
/
resources
/
onbeforeunload-focused-iframe-frame.html
blob: af68a8ed3379682be584257a053eca7a112c346a [
file
] [
log
] [
blame
]
<html>
<body
onload
=
"
load
()
"
>
This frame should get the focus.
<input
id
=
"box"
></input>
<script>
function
load
()
{
document
.
getElementById
(
"box"
).
focus
();
window
.
top
.
simulateCloseWindow
();
}
</script>
</body>
</html>