| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p id="description"></p> | 7 <p id="description"></p> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 <script> | 9 <script> |
| 10 description('A unselected option was submitted as fallback. This behavior was re
moved by the change of webkit.org/b/35056.'); | 10 description('A unselected option was submitted as fallback. This behavior was re
moved by the change of webkit.org/b/35056.'); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 if (query.indexOf('submitted=true') == -1) { | 24 if (query.indexOf('submitted=true') == -1) { |
| 25 var select = document.getElementsByTagName('select')[0]; | 25 var select = document.getElementsByTagName('select')[0]; |
| 26 select.selectedIndex = 0; | 26 select.selectedIndex = 0; |
| 27 document.forms[0].submit(); | 27 document.forms[0].submit(); |
| 28 } else { | 28 } else { |
| 29 shouldBe('query.indexOf("select=Disabled")', '-1'); | 29 shouldBe('query.indexOf("select=Disabled")', '-1'); |
| 30 if (window.testRunner) | 30 if (window.testRunner) |
| 31 testRunner.notifyDone(); | 31 testRunner.notifyDone(); |
| 32 } | 32 } |
| 33 </script> | 33 </script> |
| 34 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 35 </body> | 34 </body> |
| 36 </html> | 35 </html> |
| OLD | NEW |