OLD | NEW |
1 <body> | 1 <body> |
2 <script src="../../../resources/js-test.js"></script> | 2 <script src="../../../resources/testharness.js"></script> |
| 3 <script src="../../../resources/testharnessreport.js"></script> |
3 <applet code=""><input><embed type="application/x-blink-test-plugin" width="200"
></embed></applet> | 4 <applet code=""><input><embed type="application/x-blink-test-plugin" width="200"
></embed></applet> |
4 <script> | 5 <script> |
5 description('There was a bug that HTMLTextFormControlElement::setSelectionRange
crashed. This test requires ASAN or something.'); | 6 var t = async_test('There was a bug that HTMLTextFormControlElement::setSelectio
nRange crashed. This test requires ASAN or something.'); |
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 // passed if not crash. |
10 finishJSTest(); | 10 t.done(); |
11 }; | 11 }; |
12 </script> | 12 </script> |
13 </body> | 13 </body> |
OLD | NEW |