Backed out changeset ba26b2b79764 (bug 1121013)

This commit is contained in:
Carsten "Tomcat" Book 2015-04-29 08:45:52 +02:00
parent 4484887727
commit 5442ae006b

View File

@ -24,11 +24,7 @@ add_task(function* test_main_process_crash() {
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()];
@ -43,5 +39,4 @@ add_task(function* test_main_process_crash() {
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");
});