blob: f9497878ea51732acb11643170f27c7f14d125b1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>action="mailto" GET method</title>
<script>
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitForPolicyDelegate();
document.getElementsByTagName("form")[0].submit();
}
}
</script>
<style>input { width: 100px; } </style>
</head>
<body onload="test()">
<p>Press Compose button and check that the created e-mail has correct headers and body.</p>
<form action="mailto:" method="get">
<input name="to" value="to1@site.com,to2@site.com,to3@site.com">
<input name="cc" value="cc1@site.com,cc2@site.com,cc3@site.com">
<input name="bcc" value="bcc1@site.com,bcc2@site.com,bcc3@site.com">
<input name="subject" value="m&amp;m;?=">
<textarea name="body">line1
line2
line3
line4</textarea>
<input type="submit" value="Compose">
</form>
</body>
</html>