Bug 393237. Crash -- missing null check for ARIA activedescendant support. r=surkov, a=dsicore

This commit is contained in:
aaronleventhal@moonset.net 2007-08-23 18:43:40 -07:00
Родитель 86a31b89cb
Коммит 7f84924e27
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -469,6 +469,9 @@ PRBool nsRootAccessible::FireAccessibleFocusEvent(nsIAccessible *aAccessible,
// For activedescendant, the ARIA spec does not require that the user agent
// checks whether finalFocusNode is actually a descendant of the element with
// the activedescendant attribute.
if (!finalFocusAccessible) {
return PR_FALSE;
}
}
}