Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit cffd299

Browse files
committed
Bug 1915051 - Do not run tests in the apz.allow_zooming=false configuration on android. r=hiro
Depends on D220201 Differential Revision: https://phabricator.services.mozilla.com/D221391
1 parent 16bc52c commit cffd299

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

gfx/layers/apz/test/mochitest/test_group_touchevents-5.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@
4747
// The following tests intermittently fail on Linux.
4848
// See bug 1909710 for re-enabling these subtests.
4949
if (getPlatform() != "linux") {
50-
subtests.push(...[
51-
{"file": "helper_touch_drag_root_scrollbar.html", "prefs": [["apz.allow_zooming", true]]},
52-
{"file": "helper_touch_drag_root_scrollbar.html", "prefs": [["apz.allow_zooming", false]]},
53-
]);
50+
subtests.push(
51+
{"file": "helper_touch_drag_root_scrollbar.html", "prefs": [["apz.allow_zooming", true]]});
52+
53+
// apz.allow_zooming=false is quite broken on Android
54+
if (getPlatform() != "android") {
55+
subtests.push(
56+
{"file": "helper_touch_drag_root_scrollbar.html", "prefs": [["apz.allow_zooming", false]]});
57+
}
5458
}
5559

5660
if (isApzEnabled()) {

0 commit comments

Comments
 (0)