Open Bug 1132717 Opened 9 years ago Updated 2 years ago

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

Categories

(Testing :: Mochitest, defect)

defect

Tracking

(Not tracked)

People

(Reporter: mccr8, Unassigned)

References

Details

Attachments

(1 file)

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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: