diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-03-30 12:07:42 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-30 12:07:42 +0200 |
commit | 4e721d14cd374916bad653a97d0e19712fb40caa (patch) | |
tree | 773c4854c7c8e398b05895fdd63b1c00c536bc2a /dom/plugins/test/mochitest/test_crash_notify_no_report.xul | |
parent | 4e368f8199a61c6319621ad1b9d6c352f0319f41 (diff) | |
download | UXP-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_notify_no_report.xul')
-rw-r--r-- | dom/plugins/test/mochitest/test_crash_notify_no_report.xul | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/dom/plugins/test/mochitest/test_crash_notify_no_report.xul b/dom/plugins/test/mochitest/test_crash_notify_no_report.xul index a1344bf0f..ac2b878fb 100644 --- a/dom/plugins/test/mochitest/test_crash_notify_no_report.xul +++ b/dom/plugins/test/mochitest/test_crash_notify_no_report.xul @@ -83,21 +83,10 @@ function onPluginCrashed(aEvent) { getService(Components.interfaces.nsIObserverService); os.removeObserver(testObserver, "plugin-crashed"); - // 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"); SimpleTest.finish(); } 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", ""); - var os = Components.classes["@mozilla.org/observer-service;1"]. getService(Components.interfaces.nsIObserverService); os.addObserver(testObserver, "plugin-crashed", true); |