Bug 1390247 - Enable APZ autoscrolling on Nightly builds. r=kats draft
authorBotond Ballo <botond@mozilla.com>
Mon, 14 Aug 2017 14:59:17 -0400
changeset 647805 30d917e521bf7bf1813408d2b209feb196d89151
parent 647804 442d17e6ff491fcd9639e1f7524ec8acf28b8a36
child 726636 bb50aee6e638d1b45ac22efca59ea5f96c9b3bdc
push id74543
push userbballo@mozilla.com
push dateWed, 16 Aug 2017 23:13:38 +0000
reviewerskats
bugs1390247
milestone57.0a1
Bug 1390247 - Enable APZ autoscrolling on Nightly builds. r=kats MozReview-Commit-ID: 1pBVbb2XVeW
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -667,17 +667,21 @@ pref("layers.geometry.basic.enabled", tr
 // Whether to enable arbitrary layer geometry for DirectX compositor
 pref("layers.geometry.d3d11.enabled", true);
 
 // APZ preferences. For documentation/details on what these prefs do, check
 // gfx/layers/apz/src/AsyncPanZoomController.cpp.
 pref("apz.allow_checkerboarding", true);
 pref("apz.allow_immediate_handoff", true);
 pref("apz.allow_zooming", false);
+#ifdef NIGHTLY_BUILD
+pref("apz.autoscroll.enabled", true);
+#else
 pref("apz.autoscroll.enabled", false);
+#endif
 
 // Whether to lock touch scrolling to one axis at a time
 // 0 = FREE (No locking at all)
 // 1 = STANDARD (Once locked, remain locked until scrolling ends)
 // 2 = STICKY (Allow lock to be broken, with hysteresis)
 pref("apz.axis_lock.mode", 0);
 pref("apz.axis_lock.lock_angle", "0.5235987");        // PI / 6 (30 degrees)
 pref("apz.axis_lock.breakout_threshold", "0.03125");  // 1/32 inches