зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1670966 - Add a separate pref to enable Non-Fission window option, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D93413
This commit is contained in:
Родитель
f06d74c1a8
Коммит
5190a944e2
|
@ -9518,6 +9518,14 @@ if (AppConstants.NIGHTLY_BUILD) {
|
|||
return;
|
||||
}
|
||||
|
||||
const openNonFissionWindowOption = Services.prefs.getBoolPref(
|
||||
"fission.openNonFissionWindowOption",
|
||||
false
|
||||
);
|
||||
if (!openNonFissionWindowOption) {
|
||||
return;
|
||||
}
|
||||
|
||||
let newFissionWindow = document.getElementById("Tools:FissionWindow");
|
||||
let newNonFissionWindow = document.getElementById(
|
||||
"Tools:NonFissionWindow"
|
||||
|
|
|
@ -3612,6 +3612,13 @@
|
|||
value: true
|
||||
mirror: always
|
||||
|
||||
# If true, show option for opening a non-Fission window in a menu, when Fission
|
||||
# is enabled.
|
||||
- name: fission.openNonFissionWindowOption
|
||||
type: bool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Prefs starting with "font."
|
||||
#---------------------------------------------------------------------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче