blob: 3c73d3ef1c99f48eb954911570b6b0493fb2c51b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/EventUtils.js"></script>
</head>
<body>
<input type="password">
<script>
function runTest() {
let hash = window.location.hash;
let input = document.getElementsByTagName("input")[0];
input.focus();
synthesizeKey("a");
synthesizeKey("b");
switch (hash) {
case "#arabic":
synthesizeKey("\u0634");
break;
case "#hebrew":
synthesizeKey("\u05D3");
break;
}
document.documentElement.removeAttribute("class");
}
SimpleTest.waitForFocus(runTest);
</script>
</body>
</html>
|