| 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>
|
|
|
|
|