Bug 1343368 - [webvr] Enable WebVR 1.1 By Default on Windows in Release r=daoshengmu

MozReview-Commit-ID: 21qcbKyNfNY

--HG--
extra : rebase_source : 79cf8174363d4c90f7a5381a47d6e01f92ec53fb
This commit is contained in:
Kearwood Gilbert 2017-04-13 01:05:11 -07:00
Родитель f34b4e788d
Коммит 0a3160aef4
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -5043,11 +5043,12 @@ 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_OR_BETA
pref("dom.vr.enabled", false);
#else
// 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)
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