tor-browser

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

helper_test_tab_drag_event_counts.html (684B)


      1 <!DOCTYPE html>
      2 <html>
      3 
      4 <head>
      5    <meta charset="utf-8">
      6    <script src="/tests/SimpleTest/SimpleTest.js"></script>
      7    <script src='/tests/SimpleTest/paint_listener.js'></script>
      8    <script src='apz_test_utils.js'></script>
      9    <script src='apz_test_native_event_utils.js'></script>
     10 </head>
     11 
     12 <body style="background-color:powderblue;">
     13    <script>
     14        document.addEventListener("keydown", function () {
     15            document.body.style.backgroundColor = "red";
     16        });
     17        document.addEventListener("keyup", function () {
     18            document.body.style.backgroundColor = "green";
     19        });
     20        SimpleTest.waitForExplicitFinish();
     21    </script>
     22 </body>
     23 
     24 </html>