Open Bug 519572 Opened 10 years ago Updated 6 years ago
Ensure test frameworks expect subprocesses
If a browser hangs, the test frameworks currently just kill it off. Now that browsers are going to launch subprocesses, we need to make sure: * if the process exits normally, there aren't any subprocesses left around * if the process is killed off, there aren't orphan processes which could cause weird problems on future test runs Not sure exactly where to file this, but it applies to mochitests/reftests/xpcshelltests, I think.
We now do have mozprocess largely for this purpose (see, e.g., https://github.com/mozilla/mozbase/tree/master/mozprocess because I don't know a better reference). It is certainly not complete and is underdocumented, undertested, and underutilized, but WIP.
You need to log in before you can comment on or make changes to this bug.