aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html/form_submission_handsfree.html
blob: cc729d2ea7985271c50e58412ffd3f6f740cab08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head></head>
<body>
<!-- Run with nc -l 8000 -->
<form action="http://localhost:8000" method=get id="foo">
<input name=bar type=checkbox checked>
<input name=baz value="baz1" type=radio checked>
<input name=baz value="baz2" type=radio>
<input type=text name=bye value="hi!">
</form>
<script>
// setTimeout because https://github.com/servo/servo/issues/3628
setTimeout(function(){document.getElementById("foo").submit()},5000)
</script>
</body>
</html>