blob: 0833db50fcf6110dd19f1dda94ea338624ae7aa7 [file] [log] [blame]
<body onload="test()">
<form method="get" enctype="application/x-www-form-urlencoded" action="mailto:nobody@gmail.com">
Field 1: <input type="text" size="10" maxlength="40" name="to" value="one@example.org">
Field 2: <input type="text" size="10" maxlength="40" name="field2" value="value 2">
<input type="submit" value="Send">
</form>
<script>
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitForPolicyDelegate();
document.getElementsByTagName("form")[0].submit();
}
}
</script>