mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
1db86095cf
Since off-main thread animation (OMTA) is not available on all platforms we define a common wrapper function that runs OMTA tests only when available. This patch further performs an internal check of basic OMTA operation so that only a single error is produced if OMTA is unexpectedly unavailable. Typical usage is: SimpleTest.waitForExplicitFinish(); runOMTATest(function() { ... test code ... SimpleTest.finish(); }, SimpleTest.finish); This can be easily wrapped with promises if needed but does not require using promises. The calls to waitForExplicitFinish and finish are not performed automatically since this function may be integrated with test suites that do other work outside the call to runOMTATest. |
||
---|---|---|
.. | ||
analysis | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |