no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / base / tests / input-password-unmask-around-emoji.html
blob97df884850438ac1b05ba99765048fd2496ffa58
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <head>
4 <script src="/tests/SimpleTest/SimpleTest.js"></script>
5 </head>
6 <body>
7 <input type="password" value="a&#x1f914;b">
8 <script>
9 function runTest() {
10 let params = window.location.hash.substring(1).split("-");
11 let input = document.getElementsByTagName("input")[0];
12 let editor = SpecialPowers.wrap(input).editor;
13 editor.unmask(Number.parseInt(params[0]), Number.parseInt(params[1]));
14 input.setSelectionRange(Number.parseInt(params[2]), Number.parseInt(params[3]));
15 document.documentElement.removeAttribute("class");
18 SimpleTest.waitForFocus(runTest);
19 </script>
20 </body>
21 </html>