Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
-
CI results over the last 21 days5,345Runs100%Pass0Failures0Timeouts0Crashes2,159Skips
Scheduled runs skipped per day (up to 34.8%) Sep 19Oct 9 - This test gets skipped with pattern: os == 'android' OR os == 'win' && msix
- Manifest: toolkit/crashreporter/test/unit/xpcshell.toml
add_task(async function run_test() {
if (!("@mozilla.org/toolkit/crash-reporter;1" in Cc)) {
dump(
"INFO | test_crash_oom.js | Can't test crashreporter in a non-libxul build.\n"
);
return;
}
await do_crash(
function () {
crashType = CrashTestUtils.CRASH_OOM;
},
function (mdump, extra) {
Assert.ok("OOMAllocationSize" in extra);
Assert.greater(Number(extra.OOMAllocationSize), 0);
Assert.ok("TotalPhysicalMemory" in extra);
Assert.greaterOrEqual(Number(extra.TotalPhysicalMemory), 0);
},
true
);
});