| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
| index 4124bc825c35f440354d3130ae4323fbe56a4544..17c7e57d8a490d9013904f8322ea1fceb80e625a 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
| @@ -406,7 +406,7 @@
|
| Output.RULES = {
|
| navigate: {
|
| 'default': {
|
| - speak: '$name $value $state $role $description',
|
| + speak: '$name $value $role $description',
|
| braille: ''
|
| },
|
| abstractContainer: {
|
| @@ -1068,9 +1068,7 @@
|
| } else if (token == 'state') {
|
| options.annotation.push(token);
|
| Object.getOwnPropertyNames(node.state).forEach(function(s) {
|
| - var stateInfo = Output.STATE_INFO_[s];
|
| - if (stateInfo && stateInfo.on)
|
| - this.append_(buff, Msgs.getMsg(stateInfo.on.msgId), options);
|
| + this.append_(buff, s, options);
|
| }.bind(this));
|
| } else if (token == 'find') {
|
| // Find takes two arguments: JSON query string and format string.
|
| @@ -1294,7 +1292,7 @@
|
| if (!range.start.node || !range.end.node)
|
| return;
|
|
|
| - if (!prevRange && range.start.node.root)
|
| + if (!prevRange)
|
| prevRange = cursors.Range.fromNode(range.start.node.root);
|
| var cursor = cursors.Cursor.fromNode(range.start.node);
|
| var prevNode = prevRange.start.node;
|
|
|