layout/generic/test/test_bug597333.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
     9   <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
    10   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    12 </head>
    13 <body>
    14 <p><a target="_blank" href="https://bugzilla.mozilla.org/show_bug?id=597333">Mozilla Bug 597333</a>
    16 <textarea id="a">&#x202E;</textarea>
    18 <pre id="test">
    19 <script>
    21 function runTests() {
    22   var t = document.getElementById("a");
    23   t.focus();
    24   setTimeout(function() {
    25     synthesizeKey('VK_RIGHT', {});
    26     ok(true, "The browser did not crash!");
    28     SimpleTest.finish();
    29   }, 0);
    30 }
    32 SimpleTest.waitForExplicitFinish();
    33 SimpleTest.waitForFocus(runTests);
    34 </script>
    35 </pre>
    37 </body>
    38 </html>

mercurial