Index: chrome/test/data/extensions/api_test/automation/tests/tabs/find.js |
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/find.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/find.js |
index f1712062f092715d019e395293b0030919fb263f..07b1f618b8c9596eec1cc42ae92580b872999cf3 100644 |
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/find.js |
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/find.js |
@@ -126,7 +126,7 @@ var allTests = [ |
assertEq(null, rootNode.find({ attributes: { name: 'ok' }})); |
// Find by value attribute - regexp. |
- var query = { attributes: { value: /relationship/ }}; |
+ var query = { attributes: { name: /relationship/ }}; |
assertEq(p2, rootNode.find(query).parent); |
// Find by role and hierarchicalLevel attribute. |
@@ -165,12 +165,12 @@ var allTests = [ |
var p2StaticText = p2.firstChild; |
assertTrue( |
p2StaticText.matches({ role: RoleType.staticText, |
- attributes: { value: /relationship/ } }), |
- 'p2StaticText should match value: /relationship/ (regex match)'); |
+ attributes: { name: /relationship/ } }), |
+ 'p2StaticText should match name: /relationship/ (regex match)'); |
assertFalse( |
p2StaticText.matches({ role: RoleType.staticText, |
- attributes: { value: 'relationship' } }), |
- 'p2 should not match value: \'relationship'); |
+ attributes: { name: 'relationship' } }), |
+ 'p2 should not match name: \'relationship'); |
chrome.test.succeed(); |
} |