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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/selection-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/selection-states.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/selection-states.html b/third_party/WebKit/LayoutTests/accessibility/selection-states.html
index 820412e672c3527a3331a134cdd5ef2ad593da61..c01b879b5d99b0dfb81dc9a96d45329abf2ed0f8 100644
--- a/third_party/WebKit/LayoutTests/accessibility/selection-states.html
+++ b/third_party/WebKit/LayoutTests/accessibility/selection-states.html
@@ -25,13 +25,14 @@
document.getElementById("selectElement").focus();
- shouldBeTrue('accessibilityController.focusedElement.isMultiSelectable');
- shouldBeTrue('accessibilityController.focusedElement.childAtIndex(0).isSelectable');
- shouldBeTrue('accessibilityController.focusedElement.childAtIndex(0).isSelected');
- shouldBeTrue('accessibilityController.focusedElement.childAtIndex(1).isSelectable');
- shouldBeFalse('accessibilityController.focusedElement.childAtIndex(1).isSelected');
- shouldBeFalse('accessibilityController.focusedElement.childAtIndex(2).isSelectable');
- shouldBeFalse('accessibilityController.focusedElement.childAtIndex(2).isSelected');
+ var axSelectElement = accessibilityController.focusedElement;
+ shouldBeTrue('axSelectElement.isMultiSelectable');
+ shouldBeTrue('axSelectElement.childAtIndex(0).isSelectable');
+ shouldBeTrue('axSelectElement.childAtIndex(0).isSelected');
+ shouldBeTrue('axSelectElement.childAtIndex(1).isSelectable');
+ shouldBeFalse('axSelectElement.childAtIndex(1).isSelected');
+ shouldBeFalse('axSelectElement.childAtIndex(2).isSelectable');
+ shouldBeFalse('axSelectElement.childAtIndex(2).isSelected');
}
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698