<body> | |
<script src="../../../resources/testharness.js"></script> | |
<script src="../../../resources/testharnessreport.js"></script> | |
<applet code=""><input><embed type="application/x-blink-test-plugin" width="200"></embed></applet> | |
<script> | |
var t = async_test('There was a bug that TextControlElement::setSelectionRange crashed. This test requires ASAN or something.'); | |
document.body.onload = function() { | |
document.getElementsByTagName('input')[0].focus(); | |
// passed if not crash. | |
t.done(); | |
}; | |
</script> | |
</body> |