gecko-dev/toolkit/crashreporter/test
Nick Alexander 3148225f3e Bug 1679440 - Add test ensuring crash reporter works for background tasks. r=mossop,gsvelto
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
2021-01-27 22:54:35 +00:00
..
browser Bug 1632080 - Stop sending orphaned crash reports with synthesized crash annotations r=mconley 2020-06-05 06:32:24 +00:00
gtest Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
unit Bug 1679440 - Add test ensuring crash reporter works for background tasks. r=mossop,gsvelto 2021-01-27 22:54:35 +00:00
unit_ipc Bug 1679412 - Fixed the test_content_oom_annotation.js test on Linux. r=gsvelto. DONTBUILD 2020-12-14 19:48:26 +00:00
CrashTestUtils.jsm Bug 1633052 - Generate minidumps when encountering heap corruption exceptions on Windows r=dmajor 2020-07-16 21:48:17 +00:00
ExceptionThrower.cpp
ExceptionThrower.h
dumputils.cpp
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsTestCrasher.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-08-02 15:29:15 +00:00
win64UnwindInfoTests.asm