gecko-dev/toolkit/crashreporter/test/unit/test_override_exception_han...

13 строки
276 B
JavaScript

function run_test()
{
// Ensure that attempting to override the exception handler doesn't cause
// us to lose our exception handler.
do_crash(
function() {
CrashTestUtils.TryOverrideExceptionHandler();
},
function(mdump, extra) {
},
true);
}