Bug 1398858 - Have apz.frame_delay.enabled ride the trains on desktop. r=kats
authorBotond Ballo <botond@mozilla.com>
Mon, 11 Sep 2017 13:33:54 -0400
changeset 380102 6551197e3467f43e0ffe91d4cd099a6432283a17
parent 380101 ff40df887048eac15a6e2284552495289fe03c7b
child 380103 acb232650fafd3b630043828a5e40650e8dafbf0
push id50918
push userbballo@mozilla.com
push dateMon, 11 Sep 2017 18:48:02 +0000
treeherderautoland@6551197e3467 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1398858
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1398858 - Have apz.frame_delay.enabled ride the trains on desktop. r=kats MozReview-Commit-ID: HAOFPBlqEq0
mobile/android/app/mobile.js
modules/libpref/init/all.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -563,20 +563,18 @@ pref("apz.fling_curve_threshold_inches_p
 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.second_tap_tolerance", "0.3");
 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
+// Enabling this on Fennec is blocked on a proper fix for bug 1390145.
 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.
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -686,21 +686,17 @@ pref("apz.fling_curve_function_x1", "0.0
 pref("apz.fling_curve_function_y1", "0.0");
 pref("apz.fling_curve_function_x2", "1.0");
 pref("apz.fling_curve_function_y2", "1.0");
 pref("apz.fling_curve_threshold_inches_per_ms", "-1.0");
 pref("apz.fling_friction", "0.002");
 pref("apz.fling_min_velocity_threshold", "0.5");
 pref("apz.fling_stop_on_tap_threshold", "0.05");
 pref("apz.fling_stopped_threshold", "0.01");
-#ifdef NIGHTLY_BUILD
 pref("apz.frame_delay.enabled", true);
-#else
-pref("apz.frame_delay.enabled", false);
-#endif
 #if !defined(MOZ_WIDGET_ANDROID)
 pref("apz.keyboard.enabled", true);
 pref("apz.keyboard.passive-listeners", true);
 #else
 pref("apz.keyboard.enabled", false);
 pref("apz.keyboard.passive-listeners", false);
 #endif
 pref("apz.max_velocity_inches_per_ms", "-1.0");