Commit 0b1ad903 authored by Markus Stange's avatar Markus Stange
Browse files

Bug 1704569 - Don't synthesize events on menus in...

Bug 1704569 - Don't synthesize events on menus in browser/components/places/tests/browser/browser_toolbar_library_open_recent.js. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D111678
parent 85842917
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -61,9 +61,7 @@ async function openBookmarkedItemInNewTab(itemFromMenu) {
  let tabCreatedPromise = BrowserTestUtils.waitForNewTab(gBrowser, null, true);

  let openInNewTabOption = document.getElementById("placesContext_open:newtab");
  EventUtils.synthesizeMouseAtCenter(openInNewTabOption, {
    button: 0,
  });
  placesContext.activateItem(openInNewTabOption);
  info("Click open in new tab");

  let lastOpenedTab = await tabCreatedPromise;