Bug 810372 - don't add app urls to utterances. r=davidb

This commit is contained in:
Eitan Isaacson 2012-11-12 15:46:09 -08:00
parent 9483d8e0fd
commit 795f8d8958

View File

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