Source code

Revision control

Copy as Markdown

Other Tools

add_task(async function run_test() {
await do_crash(
function () {
let appAddr = CrashTestUtils.saveAppMemory();
crashReporter.registerAppMemory(appAddr, 32);
},
function (mdump) {
Assert.ok(mdump.exists());
Assert.greater(mdump.fileSize, 0);
Assert.ok(CrashTestUtils.dumpCheckMemory(mdump.path));
}
);
});