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