mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset ba26b2b79764 (bug 1121013)
This commit is contained in:
parent
4484887727
commit
5442ae006b
@ -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");
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user