mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1578604: accessible/tests/mochitest/actions/test_general.xul: Don't require the focus event on menulist to be unique. r=eeejay
focusChecker expects a unique focus event. However, there might still be pending focus events not caught by previous tests. Therefore, we specify our own checker so we can disable the uniqueness requirement. This is a little ugly, but it's rather difficult to work around this within this declarative framework without potentially breaking other tests. Differential Revision: https://phabricator.services.mozilla.com/D44615 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
43953a25a3
commit
0b797e7d2e
@ -86,8 +86,11 @@
|
||||
{
|
||||
ID: "menulist_label",
|
||||
actionName: "click",
|
||||
targetID: "menulist",
|
||||
events: FOCUS_EVENT
|
||||
// focusChecker expects a unique focus event. However, there might
|
||||
// still be pending focus events not caught by previous tests.
|
||||
eventSeq: [
|
||||
new invokerChecker(EVENT_FOCUS, getNode("menulist"))
|
||||
]
|
||||
}/*, // XXX: bug 490288
|
||||
{
|
||||
ID: "buttonmenu_item",
|
||||
|
Loading…
Reference in New Issue
Block a user