2009-03-27 Darin Adler <darin@apple.com>
[WebKit-https.git] / LayoutTests / fast / forms / mailto / get-multiple-items-x-www-form-urlencoded.html
1 <body onload="test()">
2 <form method="get" enctype="application/x-www-form-urlencoded" action="mailto:nobody@gmail.com">
3 Field 1: <input type="text" size="10" maxlength="40" name="to" value="one@example.org">
4 Field 2: <input type="text" size="10" maxlength="40" name="field2" value="value 2">
5 <input type="submit" value="Send"> 
6 </form>
7 <script>
8 function test() {
9   if (window.layoutTestController) {
10     layoutTestController.dumpAsText();
11     layoutTestController.waitForPolicyDelegate();
12     document.getElementsByTagName("form")[0].submit();
13   }
14 }
15 </script>