mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1172491 - Let e10s be enabled in safe mode. r=felipe
This commit is contained in:
parent
fdea62831d
commit
565dcfae6b
@ -7187,11 +7187,6 @@ let gRemoteTabsUI = {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Services.appinfo.inSafeMode) {
|
||||
// e10s isn't supported in safe mode, so don't show the menu items for it
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
if (Services.prefs.getBoolPref("layers.acceleration.disabled")) {
|
||||
// On OS X, "Disable Hardware Acceleration" also disables OMTC and forces
|
||||
|
@ -1126,7 +1126,7 @@ if (Services.prefs.getBoolPref("browser.pocket.enabled")) {
|
||||
}
|
||||
|
||||
#ifdef E10S_TESTING_ONLY
|
||||
let e10sDisabled = Services.appinfo.inSafeMode;
|
||||
let e10sDisabled = false;
|
||||
#ifdef XP_MACOSX
|
||||
// On OS X, "Disable Hardware Acceleration" also disables OMTC and forces
|
||||
// a fallback to Basic Layers. This is incompatible with e10s.
|
||||
|
@ -4548,7 +4548,7 @@ enum {
|
||||
kE10sEnabledByUser = 0,
|
||||
kE10sEnabledByDefault = 1,
|
||||
kE10sDisabledByUser = 2,
|
||||
kE10sDisabledInSafeMode = 3,
|
||||
// kE10sDisabledInSafeMode = 3, was removed in bug 1172491.
|
||||
kE10sDisabledForAccessibility = 4,
|
||||
kE10sDisabledForMacGfx = 5,
|
||||
};
|
||||
@ -4587,10 +4587,7 @@ mozilla::BrowserTabsRemoteAutostart()
|
||||
bool disabledForVR = Preferences::GetBool("dom.vr.enabled", false);
|
||||
|
||||
if (prefEnabled) {
|
||||
if (gSafeMode) {
|
||||
status = kE10sDisabledInSafeMode;
|
||||
LogE10sBlockedReason("Safe mode");
|
||||
} else if (disabledForA11y) {
|
||||
if (disabledForA11y) {
|
||||
status = kE10sDisabledForAccessibility;
|
||||
LogE10sBlockedReason("An accessibility tool is or was active. See bug 1115956.");
|
||||
} else if (disabledForVR) {
|
||||
|
Loading…
Reference in New Issue
Block a user