toolkit/crashreporter/test/unit/test_override_exception_handler.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/crashreporter/test/unit/test_override_exception_handler.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +function run_test()
     1.5 +{
     1.6 +  // Ensure that attempting to override the exception handler doesn't cause
     1.7 +  // us to lose our exception handler.
     1.8 +  do_crash(
     1.9 +    function() {
    1.10 +        CrashTestUtils.TryOverrideExceptionHandler();
    1.11 +    },
    1.12 +    function(mdump, extra) {
    1.13 +    },
    1.14 +    true);
    1.15 +}

mercurial