blob: 6fd130ff4935fe33cee33f805bca73f880cb8971 [file] [log] [blame]
<body onload="test()">
<form method="post" action="mailto:nobody@gmail.com?to=another@example.org&amp;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.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.setCustomPolicyDelegate(true);
document.getElementsByTagName("form")[0].submit();
layoutTestController.setCustomPolicyDelegate(false);
}
}
</script>