Open Bug 1443327 Opened 3 years ago Updated 7 months ago

mochitest-browser-chrome tests do not set MOZ_CRASHREPORTER_SHUTDOWN

Categories

(Testing :: General, enhancement, P3)

Version 3
enhancement

Tracking

(Not tracked)

People

(Reporter: gbrown, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #1440719 +++

In bug 1440719 we would like to set MOZ_CRASHREPORTER_SHUTDOWN in all tests' browser environments. That looks easy for everything except mochitest-browser-chrome, so we'll go ahead with the easy part in bug 1440719 and follow-up for browser-chrome here when we can.

As :ted observed in https://bugzilla.mozilla.org/show_bug.cgi?id=1440719#c5:

> There are mochitest-browser-chrome tests that actually test content
> process crashes, so I don't know that we can use it there. I'd say
> enable it for other suites and we can file a followup to do something
> smarter for browser-chrome (like create an API for those tests to
> disable the behavior for the duration of the test).
Priority: P2 → P3
I tried setting MOZ_CRASHREPORTER_SHUTDOWN for browser-chrome in general but then resetting it for specific crashreporter tests, but still hit many leakcheck failures:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=f2d91dd9086b7eeaae50d347fad9506283e6e371
You need to log in before you can comment on or make changes to this bug.