Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 function run_test()
2 {
3 // Try crashing with a runtime abort
4 do_crash(function() {
5 crashType = CrashTestUtils.CRASH_MOZ_CRASH;
6 crashReporter.annotateCrashReport("TestKey", "TestValue");
7 },
8 function(mdump, extra) {
9 do_check_eq(extra.TestKey, "TestValue");
10 do_check_false("OOMAllocationSize" in extra);
11 },
12 // process will exit with a zero exit status
13 true);
14 }