зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1085628 - Fix browser_880164_customization_context_menus.js against smaller toolbars by synthesizing context menu event on first pixel instead of last one. r=Gijs
This commit is contained in:
Родитель
0120974121
Коммит
c367a078a7
|
@ -116,7 +116,7 @@ add_task(function() {
|
|||
let urlBarContainer = document.getElementById("urlbar-container");
|
||||
// Need to make sure not to click within an edit field.
|
||||
let urlbarRect = urlBarContainer.getBoundingClientRect();
|
||||
EventUtils.synthesizeMouse(urlBarContainer, 100, urlbarRect.height - 1, {type: "contextmenu", button: 2 });
|
||||
EventUtils.synthesizeMouse(urlBarContainer, 100, 1, {type: "contextmenu", button: 2 });
|
||||
yield shownPromise;
|
||||
|
||||
let expectedEntries = [
|
||||
|
|
Загрузка…
Ссылка в новой задаче