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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/aria-label.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 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: third_party/WebKit/LayoutTests/accessibility/aria-label.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/aria-label.html b/third_party/WebKit/LayoutTests/accessibility/aria-label.html
index 28edafcde68c4de3996f131f4cd4e74b3cf63dcb..6daa5ee8e3e32ecee51050c0f318cd278d8dbfce 100644
--- a/third_party/WebKit/LayoutTests/accessibility/aria-label.html
+++ b/third_party/WebKit/LayoutTests/accessibility/aria-label.html
@@ -18,11 +18,11 @@
var body = document.getElementById("body");
body.focus();
var obj = accessibilityController.focusedElement.childAtIndex(0).childAtIndex(0);
- var succeeded = obj.deprecatedDescription == "AXDescription: aria label";
+ var succeeded = obj.name == "aria label";
shouldBe("succeeded", "true");
obj = accessibilityController.focusedElement.childAtIndex(0).childAtIndex(1);
- succeeded = obj.deprecatedDescription == "AXDescription: aria link";
+ succeeded = obj.name == "aria link";
shouldBe("succeeded", "true");
}

Powered by Google App Engine
This is Rietveld 408576698