Bug 1576936 - fix browser_windowopen for devtools button having moved, r=jaws

Differential Revision: https://phabricator.services.mozilla.com/D43625

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Gijs Kruitbosch 2019-08-27 23:30:49 +00:00
Родитель e38a987dd9
Коммит ee491403d2
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -83,12 +83,7 @@ add_task(async function() {
inRange(r.h, 13, 14) && inRange(r.h, 13, 14) &&
inRange(r.w, 14, 16) && // icon size inRange(r.w, 14, 16) && // icon size
inRange(r.y1, 40, 80) && // in the toolbar inRange(r.y1, 40, 80) && // in the toolbar
// near the left side of the screen inRange(r.x1, 65, 100), // near the left side of the screen
// The reload icon is shifted on devedition builds
// where there's an additional devtools toolbar icon.
AppConstants.MOZ_DEV_EDITION
? inRange(r.x1, 100, 120)
: inRange(r.x1, 65, 100),
}, },
{ {
name: "bug 1555842 - the urlbar shouldn't flicker", name: "bug 1555842 - the urlbar shouldn't flicker",