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