summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/test_group_mainthread.html
blob: 6782dcbc02cb7d096330827d8716f2f2c1b69763 (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
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Tests that perform main-thread scrolling</title>
  <script 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_scrollby_bug1531796.html"},
  {"file": "helper_scroll_anchoring_smooth_scroll.html"},
  {"file": "helper_visualscroll_clamp_restore.html", prefs: [
    ["apz.test.logging_enabled", true],
  ]},
  {"file": "helper_smoothscroll_spam.html"},
  {"file": "helper_smoothscroll_spam_interleaved.html"},
];

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

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