fune/browser/components/extensions
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
..
child Bug 1325814 - Support shadow DOM in menus.getTargetElement + test r=mixedpuppy 2018-08-08 18:06:41 +02:00
parent 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
schemas Bug 1325814 - Add extension API to find menu target r=mixedpuppy 2018-08-04 18:09:49 +02:00
test Bug 1480292 - Fix browser_ext_popup_select intermittent failures. r=mixedpuppy 2018-08-16 13:19:03 +00:00
.eslintrc.js
ext-browser.json Bug 1325814 - Add extension API to find menu target r=mixedpuppy 2018-08-04 18:09:49 +02:00
extension-mac-panel.css
extension-mac.css Bug 1482411 - Port bug 1371951 changes to extension-mac.css r=mixedpuppy 2018-08-10 15:00:35 +00:00
extension-win-panel.css
extension.css Bug 1371951 - Make browser-style checkboxes and radio buttons handle style themselves. r=mixedpuppy, bwinton 2018-02-17 17:00:00 +01:00
extension.svg
ExtensionControlledPopup.jsm Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE 2018-07-26 11:13:28 +03:00
ExtensionPopups.jsm Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
extensions-browser.manifest Bug 1325814 - Add extension API to find menu target r=mixedpuppy 2018-08-04 18:09:49 +02:00
jar.mn Bug 1325814 - Add extension API to find menu target r=mixedpuppy 2018-08-04 18:09:49 +02:00
moz.build Bug 1469872 - update bugzilla products and components in moz.build files: webextensions. r=nalexander 2018-06-20 21:41:59 +03:00
ParseBreakpadSymbols-worker.js Bug 1461056 - Remove the "remoteBreakpad" symbol rule, because it's no longer needed. r=dthayer 2018-05-11 23:18:44 -04:00
ParseCppFiltSymbols-worker.js
ParseNMSymbols-worker.js
ParseSymbols.jsm