OLD | NEW |
1 <head> | 1 <head> |
2 <script> | 2 <script> |
3 function submitForm() | 3 function submitForm() |
4 { | 4 { |
5 if (window.testRunner) | 5 if (window.testRunner) |
6 window.testRunner.dumpAsText(); | 6 window.testRunner.dumpAsText(); |
7 document.getElementById("submitform").submit(); | 7 document.getElementById("submitform").submit(); |
8 } | 8 } |
9 </script> | 9 </script> |
10 </head> | 10 </head> |
11 <body onload="submitForm();"> | 11 <body onload="submitForm();"> |
12 <p>This tests submits on an empty select. If successful, there should not be a c
rash. </p> | 12 <p>This tests submits on an empty select. If successful, there should not be a c
rash. </p> |
13 <form id="submitform" action=""> | 13 <form id="submitform" action=""> |
14 <select name="bbb"> | 14 <select name="bbb"> |
15 <optgroup label="aaa" ></optgroup> | 15 <optgroup label="aaa" ></optgroup> |
16 </select><br /> | 16 </select><br /> |
17 </form> | 17 </form> |
18 </body> | 18 </body> |
OLD | NEW |