mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
cb2e05a511
The JS engine fires this callback when the request count drops to zero, and we use it determine when we should hibernate the watchdog thread. But since the request count never drops to zero for nested event loops, the watchdog never runs in those cases. And since our xpcshell harness runs tests in a nested event loop, this means we can't test watchdog hibernation from xpcshell. And we don't want to test it in mochitests, because the non-determinism of timer CCs and GCs are likely to be problematic. Really, we should consider finding a way to integrate nested event loops into the activity callback mechanism, and should probably get a bug on file. But such a task is out of scope for this bug, so we just add a way to fake it. |
||
---|---|---|
.. | ||
jsshell.msg | ||
Makefile.in | ||
moz.build | ||
xpcshell.cpp | ||
xpcshellMacUtils.h | ||
xpcshellMacUtils.mm |