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