summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/text/text-set-selection-crash.html
blob: c0983369e44453a2e6fcded76b4b57b49a9a6cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<body>
<script src="../../../resources/js-test.js"></script>
<applet code=""><input><embed type="application/x-blink-test-plugin" width="200"></embed></applet>
<script>
description('There was a bug that HTMLTextFormControlElement::setSelectionRange crashed. This test requires ASAN or something.');
jsTestIsAsync = true;
document.body.onload = function() {
    document.getElementsByTagName('input')[0].focus();
    testPassed('if not crash.');
    finishJSTest();
};
</script>
</body>