Open Bug 866237 Opened 7 years ago Updated 7 years ago
xpcshell tests should really quit when a test calls do
When a test calls do_throw, that prints a backtrace and a helpful message and sets _quit, but do_main drains the event loop before quitting, so a lot more of the test can run, even though the test has declared itself hopeless. The error and backtrace end up buried under the rubble. Well, okay, I'm just easily confused, and I want the test to stop promptly. Calling do_throw should terminate the test's event loop immediately.
This will almost certainly not work out of the gate; let's see what Try has to say.
Assignee: nobody → jimb
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.