зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1149566; disable e10s if dom.vr.enabled is true; r=mconley
This commit is contained in:
Родитель
24157e2002
Коммит
22acc69566
|
@ -4627,11 +4627,16 @@ mozilla::BrowserTabsRemoteAutostart()
|
|||
// Nightly builds, update gBrowserTabsRemoteAutostart based on all the
|
||||
// e10s remote relayed prefs we watch.
|
||||
bool disabledForA11y = Preferences::GetBool("browser.tabs.remote.autostart.disabled-because-using-a11y", false);
|
||||
// Disable for VR
|
||||
bool disabledForVR = Preferences::GetBool("dom.vr.enabled", false);
|
||||
|
||||
if (prefEnabled) {
|
||||
if (gSafeMode) {
|
||||
LogE10sBlockedReason("Safe mode");
|
||||
} else if (disabledForA11y) {
|
||||
LogE10sBlockedReason("An accessibility tool is or was active. See bug 1115956.");
|
||||
} else if (disabledForVR) {
|
||||
LogE10sBlockedReason("Experimental VR interfaces are enabled");
|
||||
} else {
|
||||
gBrowserTabsRemoteAutostart = true;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче