Open
Bug 866237
Opened 13 years ago
Updated 3 years ago
xpcshell tests should really quit when a test calls do_throw
Categories
(Testing :: XPCShell Harness, defect)
Testing
XPCShell Harness
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: jimb, Assigned: jimb)
Details
Attachments
(1 file)
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.
| Assignee | ||
Comment 1•13 years ago
|
||
This will almost certainly not work out of the gate; let's see what Try has to say.
Assignee: nobody → jimb
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•13 years ago
|
||
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•