blob: d750c34cf42df0a051b8c75ad0af930cea0c7881 [file] [log] [blame]
<body onload="test()">
<form method="get" action="mailto:nobody@gmail.com">
Field 1: <input type="text" size="10" maxlength="40" name="field1" value="value 1">
Field 2: <input type="text" size="10" maxlength="40" name="field2" value="value 2">
<input type="submit" value="Send">
</form>
<div>Expected results when clicking "Send" button: A new mail message is created with an empty body.</div>
<script>
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitForPolicyDelegate();
document.getElementsByTagName("form")[0].submit();
}
}
</script>