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

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

Issue 2440833002: Revert of Accessibility: Ignore all anonymous blocks (Closed)
Patch Set: Rebase after revert of another change touching cursors_test.js Created 4 years, 2 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/test/data/extensions/api_test/automation/tests/tabs/location.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
index a4e48a51153004add7dbfb4222e6f5198e41cb22..0c583fa826ce9e5e47f50cd0dc6b76f7c107dafd 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
@@ -5,8 +5,7 @@
var allTests = [
function testLocation() {
function assertOkButtonLocation(event) {
- var okButton = rootNode.find({ role: RoleType.button,
- attributes: { name: 'Ok' }});
+ var okButton = rootNode.firstChild.firstChild;
assertTrue('location' in okButton);
// We can't assert the left and top positions because they're

Powered by Google App Engine
This is Rietveld 408576698