Open Bug 1284864 Opened 3 years ago Updated 2 years ago

[mozprocess] Use MOZ_PROCESS_LOG environment variable to track detached processes

Categories

(Testing :: Mozbase, defect, P3)

49 Branch
defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Depends on 2 open bugs)

Details

As seen on bug 1176758 and temporarily fixed for Marionette we need a more general way to track the parent processes of Firefox when restarts of the application are involved. Therefore the MOZ_PROCESS_LOG environment variable could be used. Whereby we would have to add new code in nsAppStartup.cpp which let us write a parent id only line to the log. Test harnesses which examine the log would have to be updated so they do not break by the new lines. If that doesn't work we should do all this with a new log file and environment variable.

A dependent core bug needs to be filed.
Depends on: 1284884
Priority: -- → P3
Depends on: 1434878
You need to log in before you can comment on or make changes to this bug.