blob: c7ca192935cbe78d14af6e6dd34fac075feaaee6 (
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));
}
);
});
|