<!--
This line is to unflake the test, but may not be necessary (crbug.com/c/791268):
@WIN-DENY:EVENT_OBJECT_LOCATIONCHANGE*
@WIN-DENY:EVENT_OBJECT_SHOW*
@WIN-DENY:EVENT_OBJECT_HIDE*
@UIA-WIN-DENY:StructureChanged/*
@UIA-WIN-DENY:Text_TextSelectionChanged*
-->
<!DOCTYPE html>
<html>
<body>
<input role="combobox" type="search" aria-expanded="true" aria-haspopup="true"
aria-autocomplete="list" aria-activedescendant="option1" aria-owns="list">
<ul id="list" role="listbox">
<li id="option1" role="option">Apple</li>
<li id="option2" role="option">Orange</li>
<li id="option3" role="option">Banana</li>
</ul>
<button></button>
<script>
var go_passes = [
() => document.querySelector('input').focus(),
() => document.querySelector('button').focus(),
];
var current_pass = 0;
function go() {
go_passes[current_pass++].call();
return current_pass < go_passes.length;
}
</script>
</body>
</html>