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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/button-title-uses-inner-img-alt.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/button-title-uses-inner-img-alt.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/button-title-uses-inner-img-alt.html b/third_party/WebKit/LayoutTests/accessibility/button-title-uses-inner-img-alt.html
index e9aa803ac5acbae8af5d4cf24d58ecf5644b4682..d9964127a170153c56c618815fdf3992b2a536d0 100644
--- a/third_party/WebKit/LayoutTests/accessibility/button-title-uses-inner-img-alt.html
+++ b/third_party/WebKit/LayoutTests/accessibility/button-title-uses-inner-img-alt.html
@@ -22,7 +22,7 @@ if (window.testRunner && window.accessibilityController) {
button.focus();
shouldBe("document.activeElement == button", "true");
window.axButton = accessibilityController.focusedElement;
- shouldBe("axButton.deprecatedTitle.indexOf('Button with image of cake') >= 0", "true");
+ shouldBe("axButton.name.indexOf('Button with image of cake') >= 0", "true");
}
</script>

Powered by Google App Engine
This is Rietveld 408576698