mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 16:27:31 +09:00
16 lines
507 B
JavaScript
16 lines
507 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
function run_test()
|
|
{
|
|
// Try crashing with an abort().
|
|
do_crash(function() {
|
|
crashType = CrashTestUtils.CRASH_ABORT;
|
|
crashReporter.annotateCrashReport("TestKey", "TestValue");
|
|
},
|
|
function(mdump, extra) {
|
|
do_check_eq(extra.TestKey, "TestValue");
|
|
},
|
|
// process will exit with a zero exit status
|
|
true);
|
|
}
|