| <body onload="test()"> |
| <form method="post" enctype="text/plain" 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.layoutTestController) { |
| layoutTestController.dumpAsText(); |
| layoutTestController.setCustomPolicyDelegate(true); |
| document.getElementsByTagName("form")[0].submit(); |
| layoutTestController.setCustomPolicyDelegate(false); |
| } |
| } |
| </script> |