Backout bug 878828 - Enable Gamepad API by default. a=lsblakk RELEASE_BASE_20140310 SEAMONKEY_2_25b3_BUILD1 SEAMONKEY_2_25b3_RELEASE
authorTed Mielczarek <ted@mielczarek.org>
Mon, 10 Mar 2014 14:22:51 -0400
changeset 176462 c6c843644fbf436929dae282ee7d44342c359a61
parent 176461 b528a01a01f4bcbcaba366c7da9ed096c219fd9f
child 176463 e3431d8e8d7b79a8b30cef38c45a8264ccf73c4d
child 184419 a0f44f65d2fef7715e22024ab11168216b140039
child 184421 b66f5509b52954cb302fdfd3ffcfda9d02c351a9
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsblakk
bugs878828
milestone28.0
Backout bug 878828 - Enable Gamepad API by default. a=lsblakk CLOSED TREE 4 LIFE
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -101,20 +101,21 @@ pref("dom.workers.maxPerDomain", 20);
 
 // Whether or not Shared Web Workers are enabled.
 pref("dom.workers.sharedWorkers.enabled", false);
 
 // Whether nonzero values can be returned from performance.timing.*
 pref("dom.enable_performance", true);
 
 // Whether the Gamepad API is enabled
-pref("dom.gamepad.enabled", true);
 #ifdef RELEASE_BUILD
+pref("dom.gamepad.enabled", false);
 pref("dom.gamepad.non_standard_events.enabled", false);
 #else
+pref("dom.gamepad.enabled", true);
 pref("dom.gamepad.non_standard_events.enabled", true);
 #endif
 
 // Fastback caching - if this pref is negative, then we calculate the number
 // of content viewers to cache based on the amount of available memory.
 pref("browser.sessionhistory.max_total_viewers", -1);
 
 pref("ui.use_native_colors", true);