mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 13:40:17 -10:00
A number of places in JS need to drain the current thread's event queue, which cannot be done with nsIThreadManager::spinEventLoopUntil, since we need to not wait for an incoming event when attempting to process one.
Simple xpcshell-based test harness converted from netwerk/test/unit Some documentation at http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness