1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/crashreporter/test/unit/test_crashreporter_appmem.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +function run_test() 1.5 +{ 1.6 + do_crash(function() { 1.7 + appAddr = CrashTestUtils.saveAppMemory(); 1.8 + crashReporter.registerAppMemory(appAddr, 32); 1.9 + }, 1.10 + function(mdump, extra) { 1.11 + do_check_true(mdump.exists()); 1.12 + do_check_true(mdump.fileSize > 0); 1.13 + do_check_true(CrashTestUtils.dumpCheckMemory(mdump.path)); 1.14 + }); 1.15 +}