Backed out changeset ba26b2b79764 (bug 1121013)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Wed, 29 Apr 2015 08:45:52 +0200
changeset 273004 74210122b63c3726ea46e0df6086682efb920129
parent 273003 925dd58e0035db4c14f5d5096ff4f1ed761f0cdf
child 273005 a32292906940c4c9827e45d6e57e8196b81358d8
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1121013
milestone40.0a1
backs outba26b2b7976478ea2d4f9703047c8db3a57de8ad
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset ba26b2b79764 (bug 1121013)
toolkit/crashreporter/test/unit/test_event_files.js
--- a/toolkit/crashreporter/test/unit/test_event_files.js
+++ b/toolkit/crashreporter/test/unit/test_event_files.js
@@ -19,29 +19,24 @@ add_task(function* test_setup() {
 });
 
 add_task(function* test_main_process_crash() {
   let cm = Services.crashmanager;
   Assert.ok(cm, "CrashManager available.");
 
   let basename;
   let deferred = Promise.defer();
-  do_crash(
-    function() {
-      crashType = CrashTestUtils.CRASH_RUNTIMEABORT;
-      crashReporter.annotateCrashReport("ShutdownProgress", "event-test");
-    },
+  do_crash("crashType = CrashTestUtils.CRASH_RUNTIMEABORT;",
     (minidump, extra) => {
       basename = minidump.leafName;
       cm._eventsDirs = [getEventDir()];
       cm.aggregateEventsFiles().then(deferred.resolve, deferred.reject);
     },
     true);
 
   let count = yield deferred.promise;
   Assert.equal(count, 1, "A single crash event file was seen.");
   let crashes = yield cm.getCrashes();
   Assert.equal(crashes.length, 1);
   let crash = crashes[0];
   Assert.ok(crash.isOfType(cm.PROCESS_TYPE_MAIN, cm.CRASH_TYPE_CRASH));
   Assert.equal(crash.id + ".dmp", basename, "ID recorded properly");
-  Assert.equal(crash.metadata.ShutdownProgress, "event-test");
 });