https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 4734d8433937fe568aa29a492809dc164e7db378 authored by Aki Sasaki on 31 January 2014, 23:05:00 UTC
Bug 960571 - Talos https://hg.mozilla.org. r=jgriffin, a=test-only
Tip revision: 4734d84
bug664087-1.html
<html class="reftest-wait">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
  </head>
  <body onload="start()">
    <textarea onfocus="typeIntoMe()"></textarea>
    <script>
      function start() {
        document.querySelector("textarea").focus();
      }
      function typeIntoMe() {
        setTimeout(function() {
          synthesizeKey("א", {});
          synthesizeKey("VK_ENTER", {});
          synthesizeKey("ג", {});
          synthesizeKey("VK_UP", {});
          synthesizeKey("VK_END", {});
          synthesizeKey("ב", {});
          document.documentElement.removeAttribute("class");
        }, 0);
      }
    </script>
  </body>
</html>
back to top