mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
827ab27605
This patch adds an extra check for paint suppression when waiting for paint events. This is because on some platforms (notably B2G) we can think all paints have completed because paint suppression is in effect and as a result call the callback too soon. This patch use window.setTimeout(..., 0) to wait for paint suppression to finish before preceding to check for pending paint events. When the refresh driver is under test control, if we detect that paint events are pending we need to force a refresh driver tick. This patch adds that tick. I suppose we had previously never hit this situation before and never noticed this. This patch also rearranges the main loop so that early returns appear first and calling the callback appears at the end. |
||
---|---|---|
.. | ||
config | ||
crashtest | ||
gtest | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
profiles | ||
release | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
xpcshell | ||
android_cppunittest_manifest.txt | ||
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