summaryrefslogtreecommitdiffstats
path: root/dom/events/test/test_coalesce_touchmove.html
blob: 3733a035cc8e25461e1d903a8dbcb3091daffbd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>touchmove coalescing</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
  <script>
    SimpleTest.waitForExplicitFinish();

    let tests = [
      "file_coalesce_touchmove_ipc.html",
      "file_coalesce_touchmove_browserchild.html",
      "file_coalesce_touchmove_browserchild2.html",
    ];

    function finish() {
      info("finish");
      if (tests.length) {
        SimpleTest.executeSoon(run);
        return;
      }
      SimpleTest.finish();
    }

    function run() {
      info(`run ${tests[0]}`);
      window.open(tests.shift());
    }
  </script>
</head>
<body onload="run();">
</body>
</html>