tor-browser

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

test_bug597333.html (827B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=597333
      5 -->
      6 <head>
      7  <title>Test for Bug 597333</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <script src="/tests/SimpleTest/EventUtils.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11 
     12 </head>
     13 <body>
     14 <p><a target="_blank" href="https://bugzilla.mozilla.org/show_bug?id=597333">Mozilla Bug 597333</a>
     15 
     16 <textarea id="a">&#x202E;</textarea>
     17 
     18 <pre id="test">
     19 <script>
     20 
     21 function runTests() {
     22  var t = document.getElementById("a");
     23  t.focus();
     24  setTimeout(function() {
     25    synthesizeKey('KEY_ArrowRight');
     26    ok(true, "The browser did not crash!");
     27 
     28    SimpleTest.finish();
     29  }, 0);
     30 }
     31 
     32 SimpleTest.waitForExplicitFinish();
     33 SimpleTest.waitForFocus(runTests);
     34 </script>
     35 </pre>
     36 
     37 </body>
     38 </html>