зеркало из https://github.com/mozilla/gecko-dev.git
Bug 857749 - fixed an issue with utterance generator function for application. r=eeejay
This commit is contained in:
Родитель
3fac653899
Коммит
49fe4e1073
|
@ -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 [];
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче