Backed out changeset 87219897a280 (bug 1516554) for reftest failures on draw_rect.html and wpt assertion failures.

This commit is contained in:
Brindusan Cristian 2019-01-04 22:29:51 +02:00
Родитель 458b447bbb
Коммит 590d6223c2
2 изменённых файлов: 2 добавлений и 14 удалений

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

@ -378,11 +378,7 @@ class gfxPrefs final {
DECL_GFX_PREF(Once, "dom.vr.enabled", VREnabled, bool, false);
DECL_GFX_PREF(Live, "dom.vr.autoactivate.enabled", VRAutoActivateEnabled, bool, false);
DECL_GFX_PREF(Live, "dom.vr.controller_trigger_threshold", VRControllerTriggerThreshold, float, 0.1f);
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
DECL_GFX_PREF(Once, "dom.vr.external.enabled", VRExternalEnabled, bool, true);
#else
DECL_GFX_PREF(Once, "dom.vr.external.enabled", VRExternalEnabled, bool, false);
#endif
DECL_GFX_PREF(Live, "dom.vr.external.notdetected.timeout", VRExternalNotDetectedTimeout, int32_t, 60000);
DECL_GFX_PREF(Live, "dom.vr.external.quit.timeout", VRExternalQuitTimeout, int32_t, 10000);
DECL_GFX_PREF(Live, "dom.vr.navigation.timeout", VRNavigationTimeout, int32_t, 1000);
@ -405,11 +401,7 @@ class gfxPrefs final {
DECL_GFX_PREF(Live, "dom.vr.puppet.enabled", VRPuppetEnabled, bool, false);
DECL_GFX_PREF(Live, "dom.vr.puppet.submitframe", VRPuppetSubmitFrame, uint32_t, 0);
DECL_GFX_PREF(Live, "dom.vr.display.rafMaxDuration", VRDisplayRafMaxDuration, uint32_t, 50);
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
DECL_GFX_PREF(Once, "dom.vr.process.enabled", VRProcessEnabled, bool, true);
#else
DECL_GFX_PREF(Once, "dom.vr.process.enabled", VRProcessEnabled, bool, false);
#endif
DECL_GFX_PREF(Once, "dom.vr.service.enabled", VRServiceEnabled, bool, true);
DECL_GFX_PREF(Live, "dom.w3c_pointer_events.enabled", PointerEventsEnabled, bool, false);

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

@ -5325,11 +5325,7 @@ pref("dom.vr.autoactivate.enabled", false);
// The threshold value of trigger inputs for VR controllers
pref("dom.vr.controller_trigger_threshold", "0.1");
// Enable external XR API integrations
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
pref("dom.vr.external.enabled", true);
#else
pref("dom.vr.external.enabled", false);
#endif
// Minimum number of milliseconds the browser will wait before attempting
// to re-start the VR service after an enumeration returned no devices.
pref("dom.vr.external.notdetected.timeout", 60000);
@ -5417,8 +5413,8 @@ pref("dom.vr.poseprediction.enabled", true);
// tests or in a headless kiosk system.
pref("dom.vr.require-gesture", true);
// Enable a separate process for VR module.
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
pref("dom.vr.process.enabled", true);
#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);