Make the leak-until-shutdown leak detector work when a content process shuts down early

NEW
Unassigned

Status

defect
5 years ago
2 years ago

People

(Reporter: mccr8, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

If a test starts up a content process, then shuts it down before the end of the test, we won't properly check domwindows or docshells are held alive until shutdown.  The content process needs to recognize that it is about to shutdown, and run the "browser-test:collect-request" message stuff.
This first attachment just checks that we print out the ShutdownLeaks collection message for any process that creates a window or docshell.  Right now, with the patch in bug 1073352, this leads to a lot of errors on debug non-e10s Mochitest bc1 and bc3.
Component: Mochitest Chrome → Mochitest
You need to log in before you can comment on or make changes to this bug.