summaryrefslogtreecommitdiffstats
path: root/dom/plugins/test/mochitest/test_crash_submit.xul
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-03-30 12:07:42 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-30 12:07:42 +0200
commit4e721d14cd374916bad653a97d0e19712fb40caa (patch)
tree773c4854c7c8e398b05895fdd63b1c00c536bc2a /dom/plugins/test/mochitest/test_crash_submit.xul
parent4e368f8199a61c6319621ad1b9d6c352f0319f41 (diff)
downloadUXP-4e721d14cd374916bad653a97d0e19712fb40caa.tar
UXP-4e721d14cd374916bad653a97d0e19712fb40caa.tar.gz
UXP-4e721d14cd374916bad653a97d0e19712fb40caa.tar.lz
UXP-4e721d14cd374916bad653a97d0e19712fb40caa.tar.xz
UXP-4e721d14cd374916bad653a97d0e19712fb40caa.zip
Remove MOZ_CRASHREPORTER_NO_REPORT except in /testing
Diffstat (limited to 'dom/plugins/test/mochitest/test_crash_submit.xul')
-rw-r--r--dom/plugins/test/mochitest/test_crash_submit.xul12
1 files changed, 0 insertions, 12 deletions
diff --git a/dom/plugins/test/mochitest/test_crash_submit.xul b/dom/plugins/test/mochitest/test_crash_submit.xul
index 22f39384b..53b42b25c 100644
--- a/dom/plugins/test/mochitest/test_crash_submit.xul
+++ b/dom/plugins/test/mochitest/test_crash_submit.xul
@@ -70,11 +70,6 @@ var testObserver = {
getService(Components.interfaces.nsIObserverService);
os.removeObserver(testObserver, "crash-report-status");
- // Then re-set MOZ_CRASHREPORTER_NO_REPORT
- let env = Components.classes["@mozilla.org/process/environment;1"]
- .getService(Components.interfaces.nsIEnvironment);
- env.set("MOZ_CRASHREPORTER_NO_REPORT", "1");
-
// Finally re-set crashreporter URL
crashReporter.serverURL = oldServerURL;
@@ -123,13 +118,6 @@ function onPluginCrashed(aEvent) {
}
function runTests() {
- // the test harness will have set MOZ_CRASHREPORTER_NO_REPORT,
- // ensure that we can change the setting and have our minidumps
- // wind up in Crash Reports/pending
- let env = Components.classes["@mozilla.org/process/environment;1"]
- .getService(Components.interfaces.nsIEnvironment);
- env.set("MOZ_CRASHREPORTER_NO_REPORT", "");
-
// Override the crash reporter URL to send to our fake server
crashReporter.serverURL = NetUtil.newURI(SERVER_URL);