зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1126311
- Don't show OMTC warning when opening windows on Linux if e10s enabled by default. r=felipe.
--HG-- extra : amend_source : 333c7b92790cd6060eafbd7dfd36ce47b61da636
This commit is contained in:
Родитель
a45b29358d
Коммит
530376c0ff
|
@ -3872,7 +3872,10 @@ function OpenBrowserWindow(options)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options && options.remote) {
|
if (options && options.remote) {
|
||||||
let omtcEnabled = gPrefService.getBoolPref("layers.offmainthreadcomposition.enabled");
|
// If we're using remote tabs by default, then OMTC will be force-enabled,
|
||||||
|
// despite the preference returning as false.
|
||||||
|
let omtcEnabled = gPrefService.getBoolPref("layers.offmainthreadcomposition.enabled")
|
||||||
|
|| Services.appinfo.browserTabsRemoteAutostart;
|
||||||
if (!omtcEnabled) {
|
if (!omtcEnabled) {
|
||||||
alert("To use out-of-process tabs, you must set the layers.offmainthreadcomposition.enabled preference and restart. Opening a normal window instead.");
|
alert("To use out-of-process tabs, you must set the layers.offmainthreadcomposition.enabled preference and restart. Opening a normal window instead.");
|
||||||
} else {
|
} else {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче