Bug 1513022 - Only show dom.vr.process.enabled pref in Windows. r=kip
authorDaosheng Mu <daoshengmu@gmail.com>
Fri, 21 Dec 2018 21:43:29 +0000
changeset 508873 3e05f334f7c2767f957a4e4447e3a5827b63082a
parent 508872 2071f03d7e9efa389a04740dbed0bcf86bb54e27
child 508874 b3e637ea660bd45e53ef1f886c00a622b549d260
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskip
bugs1513022
milestone66.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 1513022 - Only show dom.vr.process.enabled pref in Windows. r=kip Differential Revision: https://phabricator.services.mozilla.com/D15216
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5423,17 +5423,19 @@ pref("dom.vr.inactive.timeout", 5000);
 // Oculus Rift on SDK 0.8 or greater.
 pref("dom.vr.poseprediction.enabled", true);
 // Starting VR presentation is only allowed within a user gesture or event such
 // as VRDisplayActivate triggered by the system.  dom.vr.require-gesture allows
 // this requirement to be disabled for special cases such as during automated
 // tests or in a headless kiosk system.
 pref("dom.vr.require-gesture", true);
 // Enable a separate process for VR module.
+#if defined(XP_WIN)
 pref("dom.vr.process.enabled", false);
+#endif
 // Puppet device, used for simulating VR hardware within tests and dev tools
 pref("dom.vr.puppet.enabled", false);
 // Allow displaying the result of vr submitframe (0: disable, 1: store the
 // result as a base64 image, 2: show it on the screen).
 pref("dom.vr.puppet.submitframe", 0);
 // path to OSVR DLLs
 pref("gfx.vr.osvr.utilLibPath", "");
 pref("gfx.vr.osvr.commonLibPath", "");