Sign in
webkit
/
WebKit
/
5969b6f1f74632b1546edb27bd956b187c2c3d52
/
.
/
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>