Bug 1081542 - Part 2: Move browser.tabs.loadInBackground to StaticPrefList.yaml to access it from nsWindowWatcher::IsWindowOpenLocationModified. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D201930
This commit is contained in:
Tooru Fujisawa 2024-02-27 07:28:19 +00:00
Родитель e3f5d5c722
Коммит a444b0426e
2 изменённых файлов: 12 добавлений и 1 удалений

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

@ -900,7 +900,6 @@ pref("browser.tabs.warnOnClose", false);
pref("browser.tabs.warnOnCloseOtherTabs", true);
pref("browser.tabs.warnOnOpen", true);
pref("browser.tabs.maxOpenBeforeWarn", 15);
pref("browser.tabs.loadInBackground", true);
pref("browser.tabs.opentabfor.middleclick", true);
pref("browser.tabs.loadDivertedInBackground", false);
pref("browser.tabs.loadBookmarksInBackground", false);

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

@ -1636,6 +1636,18 @@
value: false
mirror: always
# If set, when a link is opened to a new tab, do not switch to the new tab.
#
# This pref is used when the link is opened with "Open Link in New Tab",
# middle-click, etc.
#
# See also browser.tabs.loadDivertedInBackground, which is used when the website
# diverts the link into a new tab.
- name: browser.tabs.loadInBackground
type: bool
value: true
mirror: always
# Whether we should draw the tabs on top of the titlebar.
#
# no (0), yes (1), or default (2), which is true everywhere except Linux.