fune/browser/components
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
..
about Bug 1476218 - Part 1 - Update Tracking Protection section in the identity popup for Content Blocking. r=nhnt11 2018-08-06 12:43:59 +02:00
attribution Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE 2018-07-26 11:13:28 +03:00
build Bug 1344771 - Implement attribution on OSX using quarantine data, r=mossop,spohl 2018-07-23 11:01:26 -03:00
contextualidentity Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
controlcenter/content Bug 1476218 - Part 2 - Add a "Disabled" label to the content blocking section in the identity popup. r=nhnt11 2018-08-06 12:45:22 +02:00
customizableui Bug 1483314 - Un-hide the appMenu separator for the content blocking section. r=nhnt11 2018-08-16 02:04:48 +00:00
dirprovider
downloads Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo 2018-08-08 15:22:53 -07:00
enterprisepolicies Bug 1479769 - Homepage Policy no longer needs to use complex prefs. r=felipe 2018-08-10 15:04:05 -03:00
extensions Bug 1480292 - Fix browser_ext_popup_select intermittent failures. r=mixedpuppy 2018-08-16 13:19:03 +00:00
feeds Backed out 3 changesets (bug 1479569) for devtools/client/responsive.html failures. CLOSED TREE 2018-08-03 10:39:12 +03:00
library
migration Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-08-08 22:11:56 +03:00
newtab Bug 1483375 - Add tab-able search, search telemetry and bug fixes to Activity Stream r=ursula 2018-08-15 00:13:38 +00:00
originattributes Bug 1473247 - Part 2: Add a test case for making sure that IP addresses can work properly for the firstPartyDomain. r=arthuredelstein,baku 2018-07-13 19:55:02 +00:00
payments Bug 1483401 - Fix scrollable area for the payment request page-body. r=jaws 2018-08-16 16:33:05 +00:00
places Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop 2018-08-07 14:46:19 +00:00
preferences Bug 1482476 - Align the headings in the Home section with other sections r=jaws 2018-08-10 20:47:36 +00:00
privatebrowsing Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-08-08 22:11:56 +03:00
resistfingerprinting Bug 1471814 - Add a preference for Web Animations timelines; r=bz,hiro 2018-07-14 09:23:03 +09:00
safebrowsing/content/test Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-08-08 22:11:56 +03:00
search Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo 2018-08-14 16:22:44 +00:00
sessionstore Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
shell Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag 2018-08-03 00:05:07 +00:00
syncedtabs Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo 2018-08-08 15:22:53 -07:00
tests Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs 2018-07-24 08:12:50 -07:00
translation Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE 2018-07-26 11:13:28 +03:00
uitour Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-11 06:46:31 +03:00
.eslintrc.js
BrowserComponents.manifest Bug 1472491: Part 4a - Add helper classes for lazily loading JS IPC actors. r=felipe 2018-08-11 15:27:12 -07:00
distribution.js Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs 2018-07-24 08:12:50 -07:00
moz.build Bug 1472491: Part 4a - Add helper classes for lazily loading JS IPC actors. r=felipe 2018-08-11 15:27:12 -07:00
nsBrowserContentHandler.js Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian 2018-08-04 13:27:40 +02:00
nsBrowserGlue.js Merge inbound to mozilla-central. a=merge 2018-08-16 12:24:26 +03:00
nsIBrowserHandler.idl