summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/test/unit/test_override_exception_handler.js
blob: 7e7787d80e7990631b3e83457f096cd24a87f699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
}