Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
-
CI results over the last 21 days910Runs87.8%Pass0Failures111Timeouts0Crashes0Skips
Runs with issues per day (up to 15.6%) Oct 22Nov 11- Timeouts
- This test runs only with pattern: (os != 'android') && (os == 'linux')
- Manifest: toolkit/crashreporter/test/unit_ipc/xpcshell.toml
/* import-globals-from ../unit/head_crashreporter.js */
load("../unit/head_crashreporter.js");
// The manifest forces the use of the remote executor, which runs in a process
// forked from the crashed one, hence the disabled content sandbox.
add_task(async function run_test() {
if (!("@mozilla.org/toolkit/crash-reporter;1" in Cc)) {
dump(
"INFO | test_content_remote_executor.js | Can't test crashreporter in a non-libxul build.\n"
);
return;
}
await do_content_crash(
function () {
crashType = CrashTestUtils.CRASH_MOZ_CRASH;
},
function (mdump, extra) {
Assert.equal(extra.MinidumpRemoteExecutorForTesting, "1");
Assert.greater(mdump.fileSize, 0);
Assert.ok(
!("DumperError" in extra) ||
extra.DumperError == "MissingChildProcessAnnotations",
extra.DumperError
);
Assert.ok(
CrashTestUtils.dumpHasStream(
mdump.path,
CrashTestUtils.MD_THREAD_LIST_STREAM
)
);
Assert.ok(CrashTestUtils.dumpHasInstructionPointerMemory(mdump.path));
}
);
});