blob: 7490fb598acc4207ea92ef2e3a0ea3c80b1da327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<body onload="test()">
<form method="post" enctype="multipart/form-data" action="mailto:">
Field 1: <input type="text" size="10" maxlength="40" name="to" value="one@example.org">
Field 2: <textarea name="body">Line 1
Line 2
@&=,;?"</textarea>
<input type="submit" value="Send">
</form>
<script>
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitForPolicyDelegate();
document.getElementsByTagName("form")[0].submit();
}
}
</script>
|