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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/listbox-enabled-states.html

Issue 1705853002: NOT FOR REVIEW. ax tree focus with debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed crash Created 4 years, 10 months 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/listbox-enabled-states.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/listbox-enabled-states.html b/third_party/WebKit/LayoutTests/accessibility/listbox-enabled-states.html
index 1b2deca6d944757d5a7bb1932292687275147c7a..22944000d24011209fbd0c52b8947553112c35f6 100644
--- a/third_party/WebKit/LayoutTests/accessibility/listbox-enabled-states.html
+++ b/third_party/WebKit/LayoutTests/accessibility/listbox-enabled-states.html
@@ -27,12 +27,13 @@
document.getElementById("selectElement").focus();
- shouldBeTrue('accessibilityController.focusedElement.isEnabled');
- shouldBeTrue('accessibilityController.focusedElement.childAtIndex(0).isEnabled');
- shouldBeTrue('accessibilityController.focusedElement.childAtIndex(1).isEnabled');
- shouldBeFalse('accessibilityController.focusedElement.childAtIndex(2).isEnabled');
- shouldBeFalse('accessibilityController.focusedElement.childAtIndex(3).isEnabled');
- shouldBeTrue('accessibilityController.focusedElement.childAtIndex(4).isEnabled');
+ var axSelectElement = accessibilityController.focusedElement;
+ shouldBeTrue('axSelectElement.isEnabled');
+ shouldBeTrue('axSelectElement.childAtIndex(0).isEnabled');
+ shouldBeTrue('axSelectElement.childAtIndex(1).isEnabled');
+ shouldBeFalse('axSelectElement.childAtIndex(2).isEnabled');
+ shouldBeFalse('axSelectElement.childAtIndex(3).isEnabled');
+ shouldBeTrue('axSelectElement.childAtIndex(4).isEnabled');
}
</script>

Powered by Google App Engine
This is Rietveld 408576698