michael@0: function run_test() michael@0: { michael@0: // Try crashing with a runtime abort michael@0: do_crash(function() { michael@0: crashType = CrashTestUtils.CRASH_MOZ_CRASH; michael@0: crashReporter.annotateCrashReport("TestKey", "TestValue"); michael@0: }, michael@0: function(mdump, extra) { michael@0: do_check_eq(extra.TestKey, "TestValue"); michael@0: do_check_false("OOMAllocationSize" in extra); michael@0: }, michael@0: // process will exit with a zero exit status michael@0: true); michael@0: }