Bug 1310788: Modify e10s check to allow a11y on Windows Vista and newer; r=jimm

MozReview-Commit-ID: 19OzVHDcsNM

--HG--
extra : rebase_source : 5d3ee4a83ac4eb5e7b0f4816e5e1548ccc9d5b67
This commit is contained in:
Aaron Klotz 2016-10-17 13:07:51 -06:00
Родитель b6a4aec44c
Коммит d65e835225
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -4867,11 +4867,14 @@ MultiprocessBlockPolicy() {
} }
} }
// For linux nightly and aurora builds skip accessibility
// checks.
bool doAccessibilityCheck = true; bool doAccessibilityCheck = true;
#if defined(MOZ_WIDGET_GTK) && !defined(RELEASE_OR_BETA) #if defined(MOZ_WIDGET_GTK) && !defined(RELEASE_OR_BETA)
// For linux nightly and aurora builds skip accessibility
// checks.
doAccessibilityCheck = false; doAccessibilityCheck = false;
#elif defined(XP_WIN)
// For Windows Vista and up, skip accessibility checks.
doAccessibilityCheck = !IsVistaOrLater();
#endif #endif
if (doAccessibilityCheck && disabledForA11y) { if (doAccessibilityCheck && disabledForA11y) {