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:
Felipe Gomes 2016-05-25 18:51:51 -03:00
Родитель 5dea447448
Коммит cbfaaa6b4b
2 изменённых файлов: 12 добавлений и 1 удалений

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

@ -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