gecko/js/xpconnect/shell
Bobby Holley cb2e05a511 Bug 870043 - Add a way to simulate the JSRuntime activity callback from xpcshell. r=mrbkap
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.
2013-07-24 15:33:32 -07:00
..
jsshell.msg Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makefile.in Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
moz.build bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal 2013-07-02 17:09:08 -04:00
xpcshell.cpp Bug 870043 - Add a way to simulate the JSRuntime activity callback from xpcshell. r=mrbkap 2013-07-24 15:33:32 -07:00
xpcshellMacUtils.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
xpcshellMacUtils.mm Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00