Bug 857749 - fixed an issue with utterance generator function for application. r=eeejay

This commit is contained in:
Yura Zenevich 2013-04-03 16:53:05 -07:00
Родитель 3fac653899
Коммит 49fe4e1073
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -279,8 +279,8 @@ this.UtteranceGenerator = {
application: function application(aAccessible, aRoleStr, aStates, aFlags) { application: function application(aAccessible, aRoleStr, aStates, aFlags) {
// Don't utter location of applications, it gets tiring. // Don't utter location of applications, it gets tiring.
if (aAccessible.name != aAccessible.DOMNode.location) if (aAccessible.name != aAccessible.DOMNode.location)
return this.objectUtteranceFunctions.defaultFunc( return this.objectUtteranceFunctions.defaultFunc.apply(this,
aAccessible, aRoleStr, aStates, aFlags); [aAccessible, aRoleStr, aStates, aFlags]);
return []; return [];
} }