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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/aria-labelledby-stay-within.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-labelledby-stay-within.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/aria-labelledby-stay-within.html b/third_party/WebKit/LayoutTests/accessibility/aria-labelledby-stay-within.html
index f17a6845bc08b6ee79858dc2f48e7e75773638a9..5b13ff335e7f5c8dc2dc65f79242c22b3c0259df 100644
--- a/third_party/WebKit/LayoutTests/accessibility/aria-labelledby-stay-within.html
+++ b/third_party/WebKit/LayoutTests/accessibility/aria-labelledby-stay-within.html
@@ -32,11 +32,11 @@
var labeledItem = document.getElementById("rep");
labeledItem.focus();
var result = document.getElementById("result");
- if ( accessibilityController.focusedElement.deprecatedDescription == "AXDescription: Reply Item Five" ) {
+ if ( accessibilityController.focusedElement.name == "Reply Item Five" ) {
result.innerText = "Passed";
}
else {
- result.innerText = "Failed. Result ==" + accessibilityController.focusedElement.deprecatedDescription + "==";
+ result.innerText = "Failed. Result ==" + accessibilityController.focusedElement.name + "==";
}
}
</script>

Powered by Google App Engine
This is Rietveld 408576698