mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1026093 - Don't allow the user to open an e10s window in safe mode r=mconley
This commit is contained in:
parent
44bd6bc1ac
commit
3ecd4eb3a8
@ -7419,6 +7419,11 @@ let gRemoteTabsUI = {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Services.appinfo.inSafeMode) {
|
||||
// e10s isn't supported in safe mode, so don't show the menu items for it
|
||||
return;
|
||||
}
|
||||
|
||||
let newRemoteWindow = document.getElementById("menu_newRemoteWindow");
|
||||
let newNonRemoteWindow = document.getElementById("menu_newNonRemoteWindow");
|
||||
let autostart = Services.appinfo.browserTabsRemoteAutostart;
|
||||
|
@ -1076,6 +1076,7 @@ CustomizableWidgets.push({
|
||||
id: "e10s-button",
|
||||
label: buttonLabel,
|
||||
tooltiptext: buttonLabel,
|
||||
disabled: Services.appinfo.inSafeMode,
|
||||
defaultArea: CustomizableUI.AREA_PANEL,
|
||||
onCommand: getCommandFunction(openRemote),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user