mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ecab1de927
jetpack-addon-harness.js runs in a browser window scope so it already has the setTimeout functions available to it. Loading Timer.jsm overrides the DOM timer functions with those from Timer.jsm. Any other code that used setTimeout previously will have timer IDs from the DOM functions which don't match those in Timer.jsm. If this other code attempts to clear a timer it can then end up clearing an unrelated timer. In the intermittent failure here the browser-thumbnails code manages to clear the timer that is waiting to resolve the promise that makes tests continue. I've also added an additional timer that throws an exception and so ends tests if the add-on uninstall doesn't actually complete in a reasonable time as well as removing the add-on listener. |
||
---|---|---|
.. | ||
config | ||
crashtest | ||
docker | ||
eslint-plugin-mozilla | ||
firefox-ui | ||
gtest | ||
instrumentation | ||
luciddream | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
puppeteer/firefox | ||
runtimes | ||
specialpowers | ||
talos | ||
taskcluster | ||
tools | ||
tps | ||
web-platform | ||
xpcshell | ||
cppunittest.ini | ||
mach_commands.py | ||
machine-configuration.json | ||
README.txt | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff