Index: third_party/WebKit/LayoutTests/accessibility/listbox-focus.html |
diff --git a/third_party/WebKit/LayoutTests/accessibility/listbox-focus.html b/third_party/WebKit/LayoutTests/accessibility/listbox-focus.html |
index c8977dceb0d5554e1fac08dbacc61dc9522c4902..d0b7d0db00bcc770cf1b2f4421f7ee2cc670bc38 100644 |
--- a/third_party/WebKit/LayoutTests/accessibility/listbox-focus.html |
+++ b/third_party/WebKit/LayoutTests/accessibility/listbox-focus.html |
@@ -17,7 +17,6 @@ |
var gotCheckedStateChanged = false; |
var gotSelectedChildrenChanged = false; |
- var gotFocus = false; |
window.setTimeout(function() { |
var result = ""; |
@@ -30,16 +29,12 @@ |
assert_equals(element.role, "AXRole: AXListBox"); |
gotSelectedChildrenChanged = true; |
} |
- if (notification == "Focus") { |
- assert_equals(element.role, "AXRole: AXListBoxOption"); |
- gotFocus = true; |
- } |
- if (gotCheckedStateChanged && gotSelectedChildrenChanged && gotFocus) { |
+ if (gotCheckedStateChanged && gotSelectedChildrenChanged) { |
t.done(); |
} |
})); |
listbox.selectedIndex = 1; |
}, 0); |
-}, "menu list fires focus event on close"); |
+}, "menu list fires correct events when active index changes."); |
</script> |