diff --git a/dom/tests/mochitest/general/test_interfaces.html b/dom/tests/mochitest/general/test_interfaces.html index bac2956edb3..e3fc8ce3701 100644 --- a/dom/tests/mochitest/general/test_interfaces.html +++ b/dom/tests/mochitest/general/test_interfaces.html @@ -514,7 +514,7 @@ var interfaceNamesInGlobalScope = // IMPORTANT: Do not change this list without review from a DOM peer! {name: "HDMIInputPort", b2g: true, permission: ["inputport"]}, // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "HMDVRDevice", release: false}, + {name: "HMDVRDevice", android: true, release: false}, // IMPORTANT: Do not change this list without review from a DOM peer! "HTMLAllCollection", // IMPORTANT: Do not change this list without review from a DOM peer! @@ -938,7 +938,7 @@ var interfaceNamesInGlobalScope = // IMPORTANT: Do not change this list without review from a DOM peer! {name: "PopupBoxObject", xbl: true}, // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "PositionSensorVRDevice", release: false}, + {name: "PositionSensorVRDevice", android: true, release: false}, // IMPORTANT: Do not change this list without review from a DOM peer! {name: "PresentationDeviceInfoManager", disabled: true, @@ -1390,15 +1390,15 @@ var interfaceNamesInGlobalScope = // IMPORTANT: Do not change this list without review from a DOM peer! "VideoStreamTrack", // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "VRDevice", release: false}, + {name: "VRDevice", android: true, release: false}, // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "VRPositionState", release: false}, + {name: "VRPositionState", android: true, release: false}, // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "VREyeParameters", release: false}, + {name: "VREyeParameters", android: true, release: false}, // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "VRFieldOfView", release: false}, + {name: "VRFieldOfView", android: true, release: false}, // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "VRFieldOfViewReadOnly", release: false}, + {name: "VRFieldOfViewReadOnly", android: true, release: false}, // IMPORTANT: Do not change this list without review from a DOM peer! "VTTCue", // IMPORTANT: Do not change this list without review from a DOM peer! diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 29af6181789..db452edecb5 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4675,12 +4675,8 @@ pref("dom.browserElement.maxScreenshotDelayMS", 2000); // Whether we should show the placeholder when the element is focused but empty. pref("dom.placeholder.show_on_focus", true); -// VR is disabled by default in release and enabled for nightly and aurora -#ifdef RELEASE_BUILD +// VR is disabled by default pref("dom.vr.enabled", false); -#else -pref("dom.vr.enabled", true); -#endif // Oculus > 0.5 pref("dom.vr.oculus.enabled", true); // Oculus <= 0.5; will only trigger if > 0.5 is not used or found @@ -4688,7 +4684,7 @@ pref("dom.vr.oculus050.enabled", true); // Cardboard VR device is disabled by default pref("dom.vr.cardboard.enabled", false); // 0 = never; 1 = only if real devices aren't there; 2 = always -pref("dom.vr.add-test-devices", 0); +pref("dom.vr.add-test-devices", 1); // true = show the VR textures in our compositing output; false = don't. // true might have performance impact pref("gfx.vr.mirror-textures", false);