| OLD | NEW |
| 1 <body> | 1 <body> |
| 2 <script src="../../js/resources/js-test-pre.js"></script> | 2 <script src="../../js/resources/js-test-pre.js"></script> |
| 3 <applet code=""><input><embed type="application/x-webkit-test-netscape" width="2
00"></embed></applet> | 3 <applet code=""><input><embed type="application/x-webkit-test-netscape" width="2
00"></embed></applet> |
| 4 <script> | 4 <script> |
| 5 description('There was a bug that HTMLTextFormControlElement::setSelectionRange
crashed. This test requires ASAN or something.'); | 5 description('There was a bug that HTMLTextFormControlElement::setSelectionRange
crashed. This test requires ASAN or something.'); |
| 6 jsTestIsAsync = true; | 6 jsTestIsAsync = true; |
| 7 document.body.onload = function() { | 7 document.body.onload = function() { |
| 8 document.getElementsByTagName('input')[0].focus(); | 8 document.getElementsByTagName('input')[0].focus(); |
| 9 testPassed('if not crash.'); | 9 testPassed('if not crash.'); |
| 10 finishJSTest(); | 10 finishJSTest(); |
| 11 }; | 11 }; |
| 12 </script> | 12 </script> |
| 13 <script src="../../js/resources/js-test-post.js"></script> | |
| 14 </body> | 13 </body> |
| OLD | NEW |