Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 }