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
/
frames
/
resources
/
sandboxed-iframe-form-dynamic-allowed.html
blob
b069dc0a1a540f68c4abca7a496fadf78d94df60
1
<script>
2
window
.
addEventListener
(
"message"
,
function
(
e
) {
3
document
.
getElementById
(
'form'
).
submit
();
4
},
false
);
5
</script>
6
<body>
7
<form
id
=
"form"
action
=
"javascript:window.top.allowedFormSubmitted();"
>
8
<input
name=x value=y
type
=
"checkbox"
checked
=
"yes"
/>
9
</form>
10
</body>