Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE HTML>
<html>
<!--
-->
<head>
<meta charset="utf-8">
<title>Test for Bug 1285070</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="application/javascript" src="apz_test_utils.js"></script>
<script type="application/javascript" src="apz_test_native_event_utils.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<script type="application/javascript">
let isWindows = navigator.platform.indexOf("Win") == 0;
let isMac = getPlatform() == "mac";
var touch_action_prefs = getPrefs("TOUCH_ACTION");
var subtests = [
{"file": "helper_bug1414336.html", "prefs": [["apz.test.fails_with_native_injection", isWindows]]},
{"file": "helper_bug1544966_zoom_on_touch_action_none.html", "prefs": touch_action_prefs},
{"file": "helper_bug1648491_no_pointercancel_with_dtc.html", "prefs": touch_action_prefs},
{"file": "helper_bug1663731_no_pointercancel_on_second_touchstart.html",
"prefs": touch_action_prefs},
{"file": "helper_bug1682170_pointercancel_on_touchaction_pinchzoom.html",
"prefs": touch_action_prefs},
{"file": "helper_bug1719855_pointercancel_on_touchmove_after_contextmenu_prevented.html"},
];
if (getPlatform() != "android") {
// Bug 1858610: these subtests are flaky on Android.
subtests.push(
{"file": "helper_bug1285070.html"},
{"file": "helper_bug1299195.html", "prefs": [["dom.meta-viewport.enabled", isMac]]},
{"file": "helper_bug1502010_unconsumed_pan.html"}
)
}
if (isApzEnabled()) {
SimpleTest.waitForExplicitFinish();
window.onload = function() {
runSubtestsSeriallyInFreshWindows(subtests)
.then(SimpleTest.finish, SimpleTest.finishWithFailure);
};
}
</script>
</head>
<body>
</body>
</html>