Bug 1545808 - Enable dom.vr.openvr.action_input in Release. r=kip

Differential Revision: https://phabricator.services.mozilla.com/D28254

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Daosheng Mu 2019-04-22 20:17:18 +00:00
parent 2862090894
commit e9c4cae002
2 changed files with 0 additions and 8 deletions

View File

@ -388,11 +388,7 @@ class gfxPrefs final {
DECL_GFX_PREF(Live, "dom.vr.oculus.present.timeout", VROculusPresentTimeout, int32_t, 500);
DECL_GFX_PREF(Live, "dom.vr.oculus.quit.timeout", VROculusQuitTimeout, int32_t, 10000);
DECL_GFX_PREF(Once, "dom.vr.openvr.enabled", VROpenVREnabled, bool, false);
#if defined(RELEASE_OR_BETA)
DECL_GFX_PREF(Once, "dom.vr.openvr.action_input", VROpenVRActionInputEnabled, bool, false);
#else
DECL_GFX_PREF(Once, "dom.vr.openvr.action_input", VROpenVRActionInputEnabled, bool, true);
#endif
DECL_GFX_PREF(Once, "dom.vr.osvr.enabled", VROSVREnabled, bool, false);
DECL_GFX_PREF(Live, "dom.vr.controller.enumerate.interval", VRControllerEnumerateInterval, int32_t, 1000);
DECL_GFX_PREF(Live, "dom.vr.display.enumerate.interval", VRDisplayEnumerateInterval, int32_t, 5000);

View File

@ -5509,11 +5509,7 @@ pref("dom.vr.openvr.enabled", true);
// See Bug 1310663 (Linux). On Android, this pref is irrelevant.
pref("dom.vr.openvr.enabled", false);
#endif
#ifdef RELEASE_OR_BETA
pref("dom.vr.openvr.action_input", false);
#else
pref("dom.vr.openvr.action_input", true);
#endif
// Minimum number of milliseconds that the browser will wait before
// attempting to poll again for connected VR controllers. The browser
// will not attempt to poll for VR controllers until it needs to use them.