Backed out changeset 76192bc7ded1 (bug 1426500) for failing mochitest dom/tests/mochitest/general/test_interfaces.html | VRDisplay should be defined on the global scope, at least on OS X. a=backout DEVEDITION_58_0b16_RELEASE FIREFOX_58_0b16_BUILD1 FIREFOX_58_0b16_RELEASE FIREFOX_RELEASE_58_BASE
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 11 Jan 2018 14:41:00 +0200
changeset 443206 8bb8f895a740ba60d587337e920f30ec3000c4ca
parent 443205 15c6742655c07b097d9b8dd3529eea0d62388645
child 443207 d863896fcb56221128756286f22e41f9c698d598
push id8525
push userarchaeopteryx@coole-files.de
push dateThu, 11 Jan 2018 12:41:19 +0000
treeherdermozilla-beta@8bb8f895a740 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1426500
milestone58.0
backs out76192bc7ded10f07dd8eb314af1b268d2b0af248
Backed out changeset 76192bc7ded1 (bug 1426500) for failing mochitest dom/tests/mochitest/general/test_interfaces.html | VRDisplay should be defined on the global scope, at least on OS X. a=backout
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5241,17 +5241,17 @@ pref("jsloader.shareGlobal", true);
 // event loop to become idle before actually taking the screenshot.
 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);
 
 // WebVR is enabled by default in beta and release for Windows and for all
 // platforms in nightly and aurora.
-#if defined(XP_WIN) || !defined(RELEASE_OR_BETA)
+#if defined(XP_WIN) || defined(XP_MACOSX) || !defined(RELEASE_OR_BETA)
 pref("dom.vr.enabled", true);
 #else
 pref("dom.vr.enabled", false);
 #endif
 // It is often desirable to automatically start vr presentation when
 // a user puts on the VR headset.  This is done by emitting the
 // Window.vrdisplayactivate event when the headset's sensors detect it
 // being worn.  This can result in WebVR content taking over the headset
@@ -5292,17 +5292,17 @@ pref("dom.vr.oculus.present.timeout", 10
 pref("dom.vr.oculus.quit.timeout", 30000);
 // OSVR device
 pref("dom.vr.osvr.enabled", false);
 // OpenVR device
 #if !defined(HAVE_64BIT_BUILD)
 // We are only enabling WebVR by default on 64-bit builds (Bug 1384459)
 pref("dom.vr.openvr.enabled", false);
 #elif defined(XP_WIN) || defined(XP_MACOSX)
-// We enable OpenVR by default for Windows and macOS
+// We enable WebVR by default for Windows and macOS
 pref("dom.vr.openvr.enabled", true);
 #else
 // See Bug 1310663 (Linux)
 pref("dom.vr.openvr.enabled", false);
 #endif
 // Pose prediction reduces latency effects by returning future predicted HMD
 // poses to callers of the WebVR API.  This currently only has an effect for
 // Oculus Rift on SDK 0.8 or greater.