summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/test_group_scroll_linked_effect.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/test/mochitest/test_group_scroll_linked_effect.html')
-rw-r--r--gfx/layers/apz/test/mochitest/test_group_scroll_linked_effect.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/gfx/layers/apz/test/mochitest/test_group_scroll_linked_effect.html b/gfx/layers/apz/test/mochitest/test_group_scroll_linked_effect.html
new file mode 100644
index 0000000000..f29a382fb8
--- /dev/null
+++ b/gfx/layers/apz/test/mochitest/test_group_scroll_linked_effect.html
@@ -0,0 +1,33 @@
+<!DOCTYPE>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Tests for scroll linked effect</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 prefs = [
+ ["apz.test.mac.synth_wheel_input", true],
+ ["apz.disable_for_scroll_linked_effects", false]
+];
+
+var subtests = [
+ {"file": "helper_scroll_linked_effect_by_wheel.html", prefs},
+ {"file": "helper_scroll_linked_effect_detector.html", prefs}
+];
+
+if (isApzEnabled()) {
+ SimpleTest.waitForExplicitFinish();
+ window.onload = function() {
+ runSubtestsSeriallyInFreshWindows(subtests)
+ .then(SimpleTest.finish, SimpleTest.finishWithFailure);
+ };
+}
+
+ </script>
+</head>
+<body>
+</body>
+</html>