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

Unified Diff: chrome/test/data/extensions/api_test/automation/tests/unit/test.js

Issue 755883006: Remove unused roles(EditableText, SplitGroup, GrowArea) from Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/test/data/extensions/api_test/automation/tests/unit/test.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/unit/test.js b/chrome/test/data/extensions/api_test/automation/tests/unit/test.js
index 6ff1ece9d52957a88e772cf33cf515d20f848b03..9c0cda576457233a965ac69fa608f2e50c4bc66f 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/unit/test.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/unit/test.js
@@ -289,19 +289,15 @@ var tests = [
'docTitle': 'Google Chrome Terms of Service' },
'intAttributes': { 'scrollY': 583,
'scrollYMax': 9336 },
- 'childIds': [2, 3, 4]
+ 'childIds': [2, 3]
},
{
- 'id': 2, 'role': 'editableText',
- 'childIds': []
- },
- {
- 'id': 3, 'role': 'textField',
+ 'id': 2, 'role': 'textField',
'intAttributes': { 'textSelStart': 10, 'textSelEnd': 20 },
'childIds': []
},
{
- 'id': 4, 'role': 'textArea',
+ 'id': 3, 'role': 'textArea',
'childIds': []
},
@@ -312,10 +308,7 @@ var tests = [
assertEq(true, tree.docLoaded);
assertFalse('textSelStart' in tree);
assertFalse('textSelEnd' in tree);
- var editableText = tree.firstChild;
- assertEq(-1, editableText.textSelStart);
- assertEq(-1, editableText.textSelEnd);
- var textField = editableText.nextSibling;
+ var textField = tree.firstChild;
assertEq(10, textField.textSelStart);
assertEq(20, textField.textSelEnd);
var textArea = textField.nextSibling;

Powered by Google App Engine
This is Rietveld 408576698