зеркало из https://github.com/mozilla/pjs.git
Bug 393237. Crash -- missing null check for ARIA activedescendant support. r=surkov, a=dsicore
This commit is contained in:
Родитель
86a31b89cb
Коммит
7f84924e27
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче