Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

  • This test gets skipped with pattern: os == 'android' OR os == 'win' && msix OR os == 'android' OR apple_silicon OR apple_catalina OR os == 'linux' && os_version == '18.04' && bits == 32
  • Manifest: toolkit/crashreporter/test/unit/xpcshell.toml
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.ok(mdump.fileSize > 0);
Assert.ok(CrashTestUtils.dumpCheckMemory(mdump.path));
}
);
});