repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
events
/
resources
/
onbeforeunload-focused-iframe-frame.html
blob
af68a8ed3379682be584257a053eca7a112c346a
1
<html>
2
<body
onload
=
"load()"
>
3
This frame should get the focus.
4
<input
id
=
"box"
></input>
5
<script>
6
function
load
()
7
{
8
document
.
getElementById
(
"box"
).
focus
();
9
window
.
top
.
simulateCloseWindow
();
10
}
11
</script>
12
</body>
13
</html>