Open Bug 1496614 Opened 6 years ago Updated 2 years ago

Automated tests that cover process launch failure cases

Categories

(Core :: IPC, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jld, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

In theory, trying to launch a child process can fail. In practice, it often doesn't, although Fission will probably change the odds on that. We don't have any tests that cover these error cases, and I just found both a memory leak and an assertion failure when I tried testing them. We should have test coverage for this, at least for content processes and ideally for all process types. The hardest part will probably be the glue for communicating the request for a launch failure from a test script. It would also be useful to test error recovery when a process is launched (enough for the parent to get a pid/handle) but then crashes at some point in startup, but that could be one or more other bugs.
Priority: -- → P2
QA Contact: jmathies
Priority: P2 → P3
QA Contact: jmathies
See Also: → 1165945
Severity: normal → S3
Blocks: 1795821
You need to log in before you can comment on or make changes to this bug.