mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1015617: close the panel directly, instead of relying on keyboard events and window focus. r=Gijs
This commit is contained in:
parent
80b1973bb9
commit
bc0579c7bb
@ -24,10 +24,10 @@ add_task(function*() {
|
||||
ChromeUtils.synthesizeDrop(identityBox, overflowChevron, [], null);
|
||||
yield panelShownPromise;
|
||||
|
||||
ok(true, "Overflow panel is shown.");
|
||||
info("Overflow panel is shown.");
|
||||
|
||||
let panelHiddenPromise = promisePanelElementHidden(window, widgetOverflowPanel);
|
||||
EventUtils.synthesizeKey("VK_ESCAPE", {});
|
||||
widgetOverflowPanel.hidePopup();
|
||||
yield panelHiddenPromise;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user