| <body onload="test()"> |
| <form method="post" action="mailto:nobody@gmail.com?to=another@example.org&body=Body"> |
| <input type="text" size="10" maxlength="40" name="to" value="someone@example.org"> |
| <input type="submit" value="Send"> |
| </form> |
| <div>Expected results when clicking "Send" button: A new mail message is created with an empty body, and two addressees.</div> |
| <script> |
| function test() { |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitForPolicyDelegate(); |
| document.getElementsByTagName("form")[0].submit(); |
| } |
| } |
| </script> |