Bug 1390145 - Disable apz.frame_delay.enabled on Fennec nightly to prevent page jitter when dynamic toolbar is animated r=botond draft
authorRandall Barker <rbarker@mozilla.com>
Mon, 14 Aug 2017 10:58:08 -0700
changeset 646009 be18ce37a92b51f55a921c4a8b2ea6ee6d5b7924
parent 646008 f31c029bbd16cd779f191a63065260aaafad026b
child 726104 6effaff88b43b44cd85dac00d86266277617d5f1
push id73968
push userbmo:rbarker@mozilla.com
push dateMon, 14 Aug 2017 18:07:11 +0000
reviewersbotond
bugs1390145
milestone57.0a1
Bug 1390145 - Disable apz.frame_delay.enabled on Fennec nightly to prevent page jitter when dynamic toolbar is animated r=botond MozReview-Commit-ID: 977sZKvEhwP
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -560,16 +560,21 @@ pref("apz.fling_curve_threshold_inches_p
 // apz.fling_friction and apz.fling_stopped_threshold are currently ignored by Fennec.
 pref("apz.fling_friction", "0.004");
 pref("apz.fling_stopped_threshold", "0.0");
 pref("apz.max_velocity_inches_per_ms", "0.07");
 pref("apz.overscroll.enabled", true);
 pref("apz.touch_move_tolerance", "0.03");
 pref("apz.touch_start_tolerance", "0.06");
 
+#ifdef NIGHTLY_BUILD
+// Temporary fix of Bug 1390145 for Fennec Nightly
+pref("apz.frame_delay.enabled", false);
+#endif
+
 pref("layers.progressive-paint", true);
 pref("layers.low-precision-buffer", true);
 pref("layers.low-precision-resolution", "0.25");
 pref("layers.low-precision-opacity", "1.0");
 // We want to limit layers for two reasons:
 // 1) We can't scroll smoothly if we have to many draw calls
 // 2) Pages that have too many layers consume too much memory and crash.
 // By limiting the number of layers on mobile we're making the main thread