[Australis] Bug 980374: update browser_toolbarbutton_menu_context.js test. r=MattN

This commit is contained in:
Mike de Boer 2014-03-12 23:29:55 +01:00
parent b91708fe7b
commit 34225922fa

View File

@ -32,7 +32,7 @@ function* checkPopupContextMenu() {
yield contextMenuHiddenPromise;
let popupHiddenPromise = onPopupEvent(BMB_menuPopup, "hidden");
// Can't use synthesizeMouseAtCenter because the dropdown panel is in the way
EventUtils.synthesizeMouse(dropmarker, 2, 2, {});
EventUtils.synthesizeKey("VK_ESCAPE", {});
info("Waiting for bookmarks menu to be hidden.");
yield popupHiddenPromise;
}