tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

input-password-RTL-input.html (686B)


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