mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 747270 - Make UtteranceGenerator return string arrays in all generator methods. r=davidb
This commit is contained in:
parent
1f81710b3c
commit
c022602013
@ -237,7 +237,7 @@ AndroidPresenter.prototype.actionInvoked = function(aObject, aActionName) {
|
||||
gecko: {
|
||||
type: 'Accessibility:Event',
|
||||
eventType: ANDROID_TYPE_VIEW_CLICKED,
|
||||
text: [UtteranceGenerator.genForAction(aObject, aActionName)]
|
||||
text: UtteranceGenerator.genForAction(aObject, aActionName)
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -54,7 +54,7 @@ var UtteranceGenerator = {
|
||||
},
|
||||
|
||||
genForAction: function(aObject, aActionName) {
|
||||
return gStringBundle.GetStringFromName(this.gActionMap[aActionName]);
|
||||
return [gStringBundle.GetStringFromName(this.gActionMap[aActionName])];
|
||||
},
|
||||
|
||||
verbosityRoleMap: {
|
||||
|
Loading…
Reference in New Issue
Block a user