| OLD | NEW |
| (Empty) |
| 1 <HTML> | |
| 2 <HEAD> | |
| 3 <script> | |
| 4 window.onload = function() | |
| 5 { | |
| 6 if (window.testRunner) | |
| 7 testRunner.dumpAsText(); | |
| 8 | |
| 9 if (window.location.href.indexOf('formSubmitted') != -1) | |
| 10 return; | |
| 11 document.getElementById('searchBox').value= 'quentin'; | |
| 12 document.getElementById('searchForm').submit(); | |
| 13 }; | |
| 14 </script> | |
| 15 </HEAD> | |
| 16 <BODY> | |
| 17 | |
| 18 <p>This page tests that a page with a search popup does not crash, as reported i
n <a href='https://bugs.webkit.org/show_bug.cgi?id=37141'>this bug</a>. Below is
a search input that the test automatically fills then submits. Pass if this doe
s not crash.</p><br><br> | |
| 19 <FORM action="" id="searchForm"> | |
| 20 <INPUT autosave="my.search" id="searchBox" type="search" results="10" value=""><
br> | |
| 21 <INPUT type="hidden" name="state" value="formSubmitted"><br> | |
| 22 <INPUT type="submit" value="Search"> | |
| 23 </FORM> | |
| 24 | |
| 25 </BODY> | |
| 26 </HTML> | |
| OLD | NEW |