зеркало из https://github.com/mozilla/gecko-dev.git
3148225f3e
This adds a test to ensure that crash reporting works inside of `application --backgroundtask ...` invocations. A test-only `crash` task is added that uses `CrashTestUtils.jsm` to trigger a crash. The `xpcshell` harness invokes that background task and processes any minidump and extras just as it does for existing `xpcshell` subprocesses. The test is homed in `toolkit/crashreporter`, rather than in `toolkit/components/backgroundtasks`, because there is special handling for `CrashTestUtils.jsm` and the `testcrasher` library. It's probably possible to make that infrastructure usable from multiple locations but it seems low value. Differential Revision: https://phabricator.services.mozilla.com/D98096 |
||
---|---|---|
.. | ||
browser | ||
gtest | ||
unit | ||
unit_ipc | ||
CrashTestUtils.jsm | ||
ExceptionThrower.cpp | ||
ExceptionThrower.h | ||
dumputils.cpp | ||
moz.build | ||
nsTestCrasher.cpp | ||
win64UnwindInfoTests.asm |