Bug 1120415 - Don't use string values for non-string prefs. r=rnewman
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 12 Jan 2015 11:12:41 -0500
changeset 249118 81877ee96549e0f4378b4d5643925825c9de66c8
parent 249117 a6183ada03994b5694a3684c212b3fe6021d5e40
child 249119 7536897c179d5ee387e16e38d786ecbea48c22b0
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman
bugs1120415
milestone37.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 1120415 - Don't use string values for non-string prefs. r=rnewman In fact, don't bother setting values in the prefs file at all and just default to -1 so that the Java code uses the hard-coded default values.
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -659,19 +659,19 @@ pref("ui.scrolling.min_scrollable_distan
 pref("ui.scrolling.axis_lock_mode", "standard");
 // Negate scrollY, true will make the mouse scroll wheel move the screen the same direction as with most desktops or laptops.
 pref("ui.scrolling.negate_wheel_scrollY", true);
 // Determine the dead zone for gamepad joysticks. Higher values result in larger dead zones; use a negative value to
 // auto-detect based on reported hardware values
 pref("ui.scrolling.gamepad_dead_zone", 115);
 
 // Prefs for fling acceleration
-pref("ui.scrolling.fling_accel_interval", 500);
-pref("ui.scrolling.fling_accel_base_multiplier", "1.0");
-pref("ui.scrolling.fling_accel_supplemental_multiplier", "1.0");
+pref("ui.scrolling.fling_accel_interval", -1);
+pref("ui.scrolling.fling_accel_base_multiplier", -1);
+pref("ui.scrolling.fling_accel_supplemental_multiplier", -1);
 
 // Enable accessibility mode if platform accessibility is enabled.
 pref("accessibility.accessfu.activate", 2);
 pref("accessibility.accessfu.quicknav_modes", "Link,Heading,FormElement,Landmark,ListItem");
 // Active quicknav mode, index value of list from quicknav_modes
 pref("accessibility.accessfu.quicknav_index", 0);
 // Setting for an utterance order (0 - description first, 1 - description last).
 pref("accessibility.accessfu.utterance", 1);