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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.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/secure-textfield-title-ui.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html b/third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html
index fba35b552ae3284acbc5c9c6acb7d1f122d2e86a..38514b1dac575c55b26cebe5b107ec7751dd8a90 100644
--- a/third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html
+++ b/third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html
@@ -19,7 +19,7 @@
var pass = document.getElementById("accountpassword");
pass.focus();
- var titleUIElement = accessibilityController.focusedElement.deprecatedTitleUIElement();
+ var titleUIElement = accessibilityController.focusedElement.nameElementAtIndex(0);
var titleText = titleUIElement.childAtIndex(0);
if (titleText.stringValue == "AXValue: Password") {
result.innerText += "Test passed\n";

Powered by Google App Engine
This is Rietveld 408576698