summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/test/unit/test_override_exception_handler.js
blob: caabc12de844e6e5d88c79519b75c7c906236032 (plain)
1
2
3
4
5
6
7
8
9
10
11
add_task(async function run_test() {
  // Ensure that attempting to override the exception handler doesn't cause
  // us to lose our exception handler.
  await do_crash(
    function () {
      CrashTestUtils.TryOverrideExceptionHandler();
    },
    function () {},
    true
  );
});