tor-browser

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

test_wpt_pointerevent_releasepointercapture_onpointercancel_touch-manual.html (1051B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=1000870
      5 -->
      6  <head>
      7    <meta charset="utf-8">
      8    <title>Test for Bug 1000870</title>
      9    <meta name="author" content="Maksim Lebedev" />
     10    <script src="/tests/SimpleTest/SimpleTest.js"></script>
     11    <script src="/tests/SimpleTest/EventUtils.js"></script>
     12    <script type="text/javascript" src="mochitest_support_external.js"></script>
     13    <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     14    <script type="text/javascript">
     15      SimpleTest.waitForExplicitFinish();
     16      function startTest() {
     17        runTestInNewWindow("wpt/pointerevent_releasepointercapture_onpointercancel_touch-manual.html");
     18      }
     19      function executeTest(int_win) {
     20        sendTouchEvent(int_win, "target0", "touchstart");
     21        sendTouchEvent(int_win, "target0", "touchcancel");
     22 
     23        // Need a touchend event to terminated the test gracefully.
     24        sendTouchEvent(int_win, "target0", "touchend");
     25      }
     26    </script>
     27  </head>
     28  <body>
     29  </body>
     30 </html>