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 os == 'mac' && os_version == '10.15' && processor == 'x86_64' OR os == 'mac' && os_version == '14.70' && processor == 'x86_64' OR os == 'mac' && os_version == '11.20' && arch == 'aarch64' 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));
}
);
});