gecko-dev/browser
Luca Greco 3bb3ba6361 Bug 1480292 - Fix browser_ext_popup_select intermittent failures. r=mixedpuppy
From what I saw by reproducing it locally (e.g. I've also been able to trigger it locally pretty often on linux64 by using "./mach mochitest --verify"), the select popup may sometimes be still using part of its previous position while switching between the test case for the browserAction and the test case for the pageAction.

On linux64 this test was also (from time to time) sending the mouse event when the select element wasn't yet ready to be clicked in the extension popup.

This patch aims to make the behaviors of this test more stable by applying the following changes:
- disable the cosmeticAnimations while running these tests
- explicitly wait the select element in the popup (using ContentTask.spawn and ContentTaskUtils.waitForCondition) before sending it a mouse event
- explicilty close the select popup (and wait the select popup to be hidden) before proceeding to the next test case

The following push to try seems to confirm that these changes are helping to make the test more stable:
- https://treeherder.mozilla.org/#/jobs?repo=try&revision=086c526724ba409068d679036dd3ef13788535b6&selectedJob=194152144

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

--HG--
extra : moz-landing-system : lando
2018-08-16 13:19:03 +00:00
..
actors Bug 1483910: Clear seenTabIcon on pagehide so subsequent loads attempt to load the root favicon. r=kmag 2018-08-16 17:29:57 +00:00
app No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=mtabara 2018-08-16 10:57:34 +00:00
base Bug 1483910: Clear seenTabIcon on pagehide so subsequent loads attempt to load the root favicon. r=kmag 2018-08-16 17:29:57 +00:00
branding Bug 1482419 - Update links to mozilla.org in LICENSE file r=mossop 2018-08-14 08:27:48 +03:00
components Bug 1480292 - Fix browser_ext_popup_select intermittent failures. r=mixedpuppy 2018-08-16 13:19:03 +00:00
config Bug 1479385 - Disable stack instrumentation for Windows Nightly ASan builds. r=dmajor 2018-07-26 15:41:58 +02:00
docs Bug 1451351 - Move obsolete documentation to subfolder. r=janerik 2018-05-06 14:33:10 +09:00
extensions Backed out 3 changesets (bug 1449055) for multiple xpcshell failures on browser/extensions/formautofill/test/ . CLOSED TREE 2018-08-16 00:15:19 +03:00
fonts
installer Bug 1481532 - Use HTTPS protocol for Searchfox link in InstallerBuild.rst file r=mossop 2018-08-14 08:31:18 +03:00
locales Bug 1482637 - Add missing trailing period to contentBlocking.notDetected string r=johannh 2018-08-12 15:13:57 +00:00
modules Bug 1477273 - Followup to ensure correct pref in test 2018-08-16 07:58:00 +03:00
themes Bug 1482317: When the remote control icon is hidden, hide it for accessibility too. r=johannh 2018-08-16 09:16:17 +00:00
tools/mozscreenshots Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
.eslintrc.js
app.mozbuild
build.mk Bug 1436662: Package translated uninstaller; r=pike,mshal 2018-04-16 12:49:53 -06:00
confvars.sh Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop 2018-08-14 13:13:38 -07:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1472491: Part 5a - Add BrowserTabChild actor. r=felipe 2018-07-29 19:42:46 -07:00
moz.configure