summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/test_group_pointerevents.html
blob: 2e8d7c240458cc60f4bf6f298dcba87d9002fd0b (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
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1285070
-->
<head>
  <meta charset="utf-8">
  <title>Test for Bug 1285070</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <script type="application/javascript" src="apz_test_utils.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  <script type="application/javascript">

  var subtests = [
    {'file': 'helper_bug1285070.html', 'prefs': [["dom.w3c_pointer_events.enabled", true]]},
    {'file': 'helper_bug1299195.html', 'prefs': [["dom.w3c_pointer_events.enabled", true]]}
  ];

  if (isApzEnabled()) {
    SimpleTest.waitForExplicitFinish();
    window.onload = function() {
      runSubtestsSeriallyInFreshWindows(subtests)
      .then(SimpleTest.finish);
    };
  }

  </script>
</head>
<body>
</body>
</html>