зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1275040 - Block e10s from being activated in OS X 10.6 - 10.8 in all channels. r=jimm
MozReview-Commit-ID: HOXJgZ4b10x
This commit is contained in:
Родитель
5dea447448
Коммит
cbfaaa6b4b
|
@ -65,7 +65,7 @@ var snapshotFormatters = {
|
|||
break;
|
||||
|
||||
case 10:
|
||||
statusText = "Windows XP";
|
||||
statusText = (Services.appinfo.OS == "Darwin" ? "OS X 10.6 - 10.8" : "Windows XP");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -4792,6 +4792,17 @@ MultiprocessBlockPolicy() {
|
|||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Avoids enabling e10s for OS X 10.6 - 10.8 users (<= Lion) as these
|
||||
* versions will be unsupported soon.
|
||||
*/
|
||||
#if defined(XP_MACOSX)
|
||||
if (!nsCocoaFeatures::OnMountainLionOrLater()) {
|
||||
gMultiprocessBlockPolicy = kE10sDisabledForOperatingSystem;
|
||||
return gMultiprocessBlockPolicy;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(XP_WIN)
|
||||
/**
|
||||
* We block on Windows XP if layers acceleration is requested. This is due to
|
||||
|
|
Загрузка…
Ссылка в новой задаче