| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
|
| index 763fbe731d1b84c1ba5165e2ec31cffda9da9350..2b1293f01d1546f2a67d8c976d4c51fd0d08e266 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
|
| @@ -33,7 +33,7 @@ EditingTest.prototype = {
|
|
|
| assertLineData: function(doc, data) {
|
| this.runWithLoadedTree(doc, function(root) {
|
| - var input = root.find({role: RoleType.textField});
|
| + var input = root.find({role: RoleType.TEXT_FIELD});
|
| input.addEventListener('focus', this.newCallback(function() {
|
| var textHandler = ChromeVoxState.desktopAutomationHandler
|
| .textEditHandler_.editableText_;
|
| @@ -75,9 +75,9 @@ line 3
|
| TEST_F('EditingTest', 'Focus', function() {
|
| var mockFeedback = this.createMockFeedback();
|
| this.runWithLoadedTree(doc, function(root) {
|
| - var singleLine = root.find({role: RoleType.textField,
|
| + var singleLine = root.find({role: RoleType.TEXT_FIELD,
|
| attributes: {name: 'singleLine'}});
|
| - var textarea = root.find({role: RoleType.textField,
|
| + var textarea = root.find({role: RoleType.TEXT_FIELD,
|
| attributes: {name: 'textArea'}});
|
| singleLine.focus();
|
| mockFeedback
|
| @@ -98,7 +98,7 @@ TEST_F('EditingTest', 'Focus', function() {
|
| TEST_F('EditingTest', 'Multiline', function() {
|
| var mockFeedback = this.createMockFeedback();
|
| this.runWithLoadedTree(doc, function(root) {
|
| - var textarea = root.find({role: RoleType.textField,
|
| + var textarea = root.find({role: RoleType.TEXT_FIELD,
|
| attributes: {name: 'textArea'}});
|
| textarea.focus();
|
| mockFeedback
|
| @@ -147,7 +147,7 @@ TEST_F('EditingTest', 'TextButNoSelectionChange', function() {
|
| </script>
|
| */},
|
| function(root) {
|
| - var input = root.find({role: RoleType.textField});
|
| + var input = root.find({role: RoleType.TEXT_FIELD});
|
| input.focus();
|
| mockFeedback
|
| .expectSpeech('text1', 'Edit text')
|
|
|