Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3251)

Unified Diff: chrome/renderer/resources/extensions/automation/automation_node.js

Issue 1046883002: Use multiline attribute to check for IA2_STATE_MULTILINE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing textarea Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/extensions/automation/automation_node.js
diff --git a/chrome/renderer/resources/extensions/automation/automation_node.js b/chrome/renderer/resources/extensions/automation/automation_node.js
index 6ecdfc7360032a02e2bf98d4fee138644f36e820..4daf7e4a869b51f7aa855321e69b8c2cd59998c0 100644
--- a/chrome/renderer/resources/extensions/automation/automation_node.js
+++ b/chrome/renderer/resources/extensions/automation/automation_node.js
@@ -826,8 +826,7 @@ AutomationRootNodeImpl.prototype = {
}
// If this is an editable text area, set editable text attributes.
- if (nodeData.role == schema.RoleType.textField ||
- nodeData.role == schema.RoleType.textArea) {
+ if (nodeData.role == schema.RoleType.textField) {
this.mixinAttributes_(nodeImpl, EditableTextMixinAttributes, nodeData);
}
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | chrome/test/data/extensions/api_test/automation/tests/tabs/mixins.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698