2009-03-27 Darin Adler <darin@apple.com>
[WebKit-https.git] / LayoutTests / fast / forms / mailto / advanced-put.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <title>action="mailto" PUT method</title>
5         <script>
6             function test() {
7               if (window.layoutTestController) {
8                 layoutTestController.dumpAsText();
9                 layoutTestController.waitForPolicyDelegate();
10                 document.getElementsByTagName("form")[0].submit();
11               }
12             }
13         </script>
14     </head>
15     <body onload="test()">
16         <p>Press Compose button and check that the created e-mail has correct headers and body.</p>
17         <form action="mailto:" method="put">
18             <input name="to" value="to1@site.com,to2@site.com,to3@site.com">
19             <input name="cc" value="cc1@site.com,cc2@site.com,cc3@site.com">
20             <input name="bcc" value="bcc1@site.com,bcc2@site.com,bcc3@site.com">
21             <input name="subject" value="m&amp;m;?=">
22 <textarea name="body">line1
23 line2
24 line3
25 line4</textarea>
26             <input type="submit" value="Compose">
27         </form>
28     </body>
29 </html>