rem: innerFinally = "FAIL: DID NOT HIT INNER FINALLY BLOCK"; if (throwing) { outerCatch = "FAILED: NO EXCEPTION CAUGHT"; } else { outerCatch = "PASS"; } outerFinally = "FAIL: DID NOT HIT OUTER FINALLY BLOCK"; 
add: innerFinally = "FAIL: DID NOT HIT INNER FINALLY BLOCK"; if (throwing) { outerCatch = "FAILED: NO EXCEPTION CAUGHT"; } else { outerCatch = "PASS"; } outerFinally = "FAIL: DID NOT HIT OUTER FINALLY BLOCK"; 
context:     function TrySomething( expression, throwing ) {        innerFinally = "FAIL: DID NOT HIT INNER FINALLY BLOCK";        if (throwing) {            outerCatch = "FAILED: NO EXCEPTION CAUGHT";        } else {            outerCatch = "PASS";        }        outerFinally = "FAIL: DID NOT HIT OUTER FINALLY BLOCK";        // If the inner finally does not throw an exception, the result        // of the try block should be returned.  (Type of inner return        // value should be throw if finally executes correctly        try {            try {                throw 0;            } finally {                innerFinally = "PASS";                eval( expression );            }        } catch ( e  ) {            if (throwing) {                outerCatch = "PASS";            } else {                outerCatch = "FAIL: HIT OUTER CATCH BLOCK";            }        } finally {            outerFinally = "PASS";        }        testcases[tc++] = new TestCase(                SECTION,                "eval( " + expression +" ): evaluated inner finally block",                "PASS",                innerFinally );        testcases[tc++] = new TestCase(                SECTION,                "eval( " + expression +" ): evaluated outer catch block ",                "PASS",                outerCatch );        testcases[tc++] = new TestCase(                SECTION,                "eval( " + expression +" ):  evaluated outer finally block",                "PASS",                outerFinally );    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f5797aeb2410e2259028142b87595fe71f03e531/try-012.js/buggy/js/tests/ecma_2/Statements/try-012.js