blob: f42fe10f0cb7a6450dd6287a7189e5e971dd5fa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
add_task(async function run_test() {
await do_crash(
function () {
let appAddr = CrashTestUtils.saveAppMemory();
crashReporter.registerAppMemory(appAddr, 32);
},
function (mdump, extra) {
Assert.ok(mdump.exists());
Assert.ok(mdump.fileSize > 0);
Assert.ok(CrashTestUtils.dumpCheckMemory(mdump.path));
}
);
});
|