diff -r 000000000000 -r 6474c204b198 toolkit/crashreporter/test/unit/test_crashreporter_appmem.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolkit/crashreporter/test/unit/test_crashreporter_appmem.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,12 @@ +function run_test() +{ + do_crash(function() { + appAddr = CrashTestUtils.saveAppMemory(); + crashReporter.registerAppMemory(appAddr, 32); + }, + function(mdump, extra) { + do_check_true(mdump.exists()); + do_check_true(mdump.fileSize > 0); + do_check_true(CrashTestUtils.dumpCheckMemory(mdump.path)); + }); +}