From eac3e641110ce26cae69a53bb5920c6d725392ec Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 4 Dec 2017 12:52:44 +0100 Subject: Stop trying to configure nonexistent crashreporter services. --- mobile/android/tests/browser/robocop/robocop_head.js | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'mobile/android') diff --git a/mobile/android/tests/browser/robocop/robocop_head.js b/mobile/android/tests/browser/robocop/robocop_head.js index 3db3bb346..c9e1383f2 100644 --- a/mobile/android/tests/browser/robocop/robocop_head.js +++ b/mobile/android/tests/browser/robocop/robocop_head.js @@ -69,23 +69,6 @@ try { } catch (e) { } -// Enable crash reporting, if possible -// Note that if we're in a child process, we don't want to init the -// crashreporter component. -try { // nsIXULRuntime is not available in some configurations. - if (runningInParent && - "@mozilla.org/toolkit/crash-reporter;1" in Components.classes) { - // Remember to update - // too if you change this initial setting. - let crashReporter = - Components.classes["@mozilla.org/toolkit/crash-reporter;1"] - .getService(Components.interfaces.nsICrashReporter); - crashReporter.enabled = true; - crashReporter.minidumpPath = do_get_cwd(); - } -} -catch (e) { } - /** * Date.now() is not necessarily monotonically increasing (insert sob story * about times not being the right tool to use for measuring intervals of time, -- cgit v1.2.3