summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-12-04 12:52:44 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-03-30 20:53:10 +0200
commit66b05e93d3de1082c2f7d441e055dbc3e0e65191 (patch)
tree1eea3d4bb5c314b167443a570ba8436c90889a45 /testing
parent1829ab4c20e752ddd29d7480fff3edc4cc1f5314 (diff)
downloaduxp-66b05e93d3de1082c2f7d441e055dbc3e0e65191.tar.gz
Stop trying to configure nonexistent crashreporter services.
Diffstat (limited to 'testing')
-rw-r--r--testing/xpcshell/head.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/testing/xpcshell/head.js b/testing/xpcshell/head.js
index 74fd482cf0..e204a4512d 100644
--- a/testing/xpcshell/head.js
+++ b/testing/xpcshell/head.js
@@ -95,23 +95,6 @@ try {
}
catch (e) { }
-// Configure crash reporting, if possible
-// We rely on the Python harness to set MOZ_CRASHREPORTER,
-// MOZ_CRASHREPORTER_NO_REPORT, and handle checking for minidumps.
-// Note that if we're in a child process, we don't want to init the
-// crashreporter component.
-try {
- if (runningInParent &&
- "@mozilla.org/toolkit/crash-reporter;1" in Components.classes) {
- let crashReporter =
- Components.classes["@mozilla.org/toolkit/crash-reporter;1"]
- .getService(Components.interfaces.nsICrashReporter);
- crashReporter.UpdateCrashEventsDir();
- crashReporter.minidumpPath = do_get_minidumpdir();
- }
-}
-catch (e) { }
-
// Configure a console listener so messages sent to it are logged as part
// of the test.
try {