blob: a7f105a01eb57fb08047e5bc7768575084e01dc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
</head>
<body>
<input type="password" value="123456">
<script>
function runTest() {
let input = document.getElementsByTagName("input")[0];
input.focus();
input.setSelectionRange(3, 4);
document.documentElement.removeAttribute("class");
}
SimpleTest.waitForFocus(runTest);
</script>
</body>
</html>
|