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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/table-header.html

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative 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/table-header.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/table-header.html b/third_party/WebKit/LayoutTests/accessibility/table-header.html
index b933b27eaba32cb9046ca150cb365de69e8aac22..0297a705ed24803ec017931536380b1e3c4f9c83 100644
--- a/third_party/WebKit/LayoutTests/accessibility/table-header.html
+++ b/third_party/WebKit/LayoutTests/accessibility/table-header.html
@@ -24,13 +24,13 @@
var tableheader = table.tableHeader();
shouldBeTrue("tableheader.isValid");
shouldBe("tableheader.childrenCount", "2");
- window.firstHeaderText = tableheader.childAtIndex(0).childAtIndex(0).stringValue;
- shouldBe("firstHeaderText", "'AXValue: header 1'");
- window.secondHeaderText = tableheader.childAtIndex(1).childAtIndex(0).stringValue;
- shouldBe("secondHeaderText", "'AXValue: header 2'");
+ window.firstHeaderText = tableheader.childAtIndex(0).childAtIndex(0).name;
+ shouldBe("firstHeaderText", "'header 1'");
+ window.secondHeaderText = tableheader.childAtIndex(1).childAtIndex(0).name;
+ shouldBe("secondHeaderText", "'header 2'");
// Clear the HTML for cleaner results.
- document.getElementById("content").innerHTML = "";
+ document.getElementById("content").innerHTML = "";
}
@@ -38,4 +38,3 @@
</body>
</html>
-

Powered by Google App Engine
This is Rietveld 408576698