зеркало из https://github.com/mozilla/gecko-dev.git
Bug 493433 - invalid arg on valid relation type, r=marcoz, davidb
This commit is contained in:
Родитель
06e3105812
Коммит
4770203045
|
@ -2674,6 +2674,15 @@ nsAccessible::GetRelationByType(PRUint32 aRelationType,
|
|||
AddTargetFromContent(aRelationType, aRelation, regionContent);
|
||||
}
|
||||
|
||||
case nsIAccessibleRelation::RELATION_SUBWINDOW_OF:
|
||||
case nsIAccessibleRelation::RELATION_EMBEDS:
|
||||
case nsIAccessibleRelation::RELATION_EMBEDDED_BY:
|
||||
case nsIAccessibleRelation::RELATION_POPUP_FOR:
|
||||
case nsIAccessibleRelation::RELATION_PARENT_WINDOW_OF:
|
||||
{
|
||||
return NS_OK_NO_RELATION_TARGET;
|
||||
}
|
||||
|
||||
default:
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче