michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: function run_test() michael@0: { michael@0: // Try crashing with an abort(). michael@0: do_crash(function() { michael@0: crashType = CrashTestUtils.CRASH_ABORT; michael@0: crashReporter.annotateCrashReport("TestKey", "TestValue"); michael@0: }, michael@0: function(mdump, extra) { michael@0: do_check_eq(extra.TestKey, "TestValue"); michael@0: }, michael@0: // process will exit with a zero exit status michael@0: true); michael@0: }