[GTK] Test cases for typehead in form menu lists should start from known state
authoraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 May 2017 14:33:20 +0000 (14:33 +0000)
committeraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 May 2017 14:33:20 +0000 (14:33 +0000)
commit25340b1b04e35bc37f9bd11d0781842188829030
tree8a45d04945b68f6e34b99ed8abf2dbc97f8f6e46
parentb0bea1a2df7f60cc8a6358542d804e1d72791536
[GTK] Test cases for typehead in form menu lists should start from known state
https://bugs.webkit.org/show_bug.cgi?id=171792

Reviewed by Carlos Garcia Campos.

Since r215188 opening a popup menu in a form pre-selects the active
element to mimic GtkComboxBox behavior, but the layout test implicitly
assumed that type ahead search always started the beginning of the
list, which is no longer true now that GTK+ is informed of which one
is the active element.

* platform/gtk/fast/forms/menulist-typeahead-find.html: Reset menu
list to the initial state (no element selected, unfocused) at the
beginning of testTypeAheadFunction().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/gtk/fast/forms/menulist-typeahead-find.html