Bug 1421402 - Add an environment variable for controlling the accessible blocklist. r=aklotz

MozReview-Commit-ID: GFCRbrfva7A

--HG--
extra : rebase_source : 88c8e6e5d9b1f87e20712f3f77ade940e9b3570c
This commit is contained in:
Jim Mathies 2017-11-28 14:53:09 -06:00
Родитель e889dbe685
Коммит 60f8ccca28
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -245,6 +245,11 @@ static const wchar_t* gBlockedInprocDlls[] = {
bool bool
LazyInstantiator::IsBlockedInjection() LazyInstantiator::IsBlockedInjection()
{ {
// Check debugging options see if we should disable the blocklist.
if (PR_GetEnv("MOZ_DISABLE_ACCESSIBLE_BLOCKLIST")) {
return false;
}
if (Compatibility::HasKnownNonUiaConsumer()) { if (Compatibility::HasKnownNonUiaConsumer()) {
// If we already see a known AT, don't block a11y instantiation // If we already see a known AT, don't block a11y instantiation
return false; return false;