Title: [269646] trunk/LayoutTests
- Revision
- 269646
- Author
- [email protected]
- Date
- 2020-11-10 13:36:24 -0800 (Tue, 10 Nov 2020)
Log Message
Fix for LayoutTests/accessibility/mac/search-subrole.html in isolated tree mode.
https://bugs.webkit.org/show_bug.cgi?id=218766
Reviewed by Chris Fleizach.
* accessibility/mac/search-subrole.html: Modify so that it works in both
isolated tree mode on and off.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (269645 => 269646)
--- trunk/LayoutTests/ChangeLog 2020-11-10 21:27:37 UTC (rev 269645)
+++ trunk/LayoutTests/ChangeLog 2020-11-10 21:36:24 UTC (rev 269646)
@@ -1,3 +1,13 @@
+2020-11-10 Andres Gonzalez <[email protected]>
+
+ Fix for LayoutTests/accessibility/mac/search-subrole.html in isolated tree mode.
+ https://bugs.webkit.org/show_bug.cgi?id=218766
+
+ Reviewed by Chris Fleizach.
+
+ * accessibility/mac/search-subrole.html: Modify so that it works in both
+ isolated tree mode on and off.
+
2020-11-10 Youenn Fablet <[email protected]>
Update WebRTC liwebrtc to M87
Modified: trunk/LayoutTests/accessibility/mac/search-subrole.html (269645 => 269646)
--- trunk/LayoutTests/accessibility/mac/search-subrole.html 2020-11-10 21:27:37 UTC (rev 269645)
+++ trunk/LayoutTests/accessibility/mac/search-subrole.html 2020-11-10 21:36:24 UTC (rev 269646)
@@ -39,26 +39,20 @@
<div id="console"></div>
<script>
-
description("This tests that we can detect a search field based on a few heuristics.");
if (window.accessibilityController) {
-
for (var k = 1; k <= 7; k++) {
- document.getElementById("search" + k).focus();
- var search = accessibilityController.focusedElement;
+ var search = accessibilityController.accessibleElementById("search" + k);
shouldBe("search.subrole", "'AXSubrole: AXSearchField'");
}
for (var k = 1; k <= 3; k++) {
- document.getElementById("nosearch" + k).focus();
- var nosearch = accessibilityController.focusedElement;
+ var nosearch = accessibilityController.accessibleElementById("nosearch" + k);
shouldBe("nosearch.subrole", "'AXSubrole: '");
}
}
-
</script>
-
<script src=""
</body>
</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes