17 lines
590 B
HTML
17 lines
590 B
HTML
<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>
|