Add test ensuring crash reporter works for background tasks
Categories
(Toolkit :: Background Tasks, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: nalexander, Assigned: nalexander)
References
Details
Attachments
(1 file)
This is essentially the "background tasks in Gecko" expression of Bug 1656003. That ticket started a discussion of how to collect crash reports from background tasks that are not part of Gecko/Firefox. To service updates in the background, we're not pursuing that approach; we're going to leverage the existing update service within Gecko. This ticket tracks ensuring that the existing crash reporter works with this new background task mode.
Assignee | ||
Comment 1•5 years ago
|
||
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.
Depends on D98095
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Backed out along with Bug 1667276 - https://bugzilla.mozilla.org/show_bug.cgi?id=1667276#c18
Comment 6•5 years ago
|
||
Backed out for causing failure on test_crash_backgroundtask_moz_crash.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/e379907d0452a34155518062e838b465f5e4a37c
Failure log: https://treeherder.mozilla.org/logviewer?job_id=328010578&repo=autoland&lineNumber=3050
Comment 8•5 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•