rem: writeLineToLog('test 2'); 
add: print('test 2'); 
context: function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);  function createPrint(obj)    {      return new Function("actual += " + obj + " + ','; " +                           "writeLineToLog(" + obj + ");");    }  function createThrow(obj)    {      return new Function("throw " + obj + "; ");    }  function f(a, b, c)    {      try {        a();      } catch (e if e == null) {        b();      } finally {        c();      }    }  writeLineToLog('test 1');  expect = 'a,c,';  actual = '';  try  {    f(createPrint("'a'"), createPrint("'b'"), createPrint("'c'"));  }  catch(ex)  {    actual += 'caught ' + ex;  }  reportCompare(expect, actual, summary + ': 1');  writeLineToLog('test 2');  expect = 'c,caught a';  actual = '';  try  {    f(createThrow("'a'"), createPrint("'b'"), createPrint("'c'"));  }  catch(ex)  {    actual += 'caught ' + ex;  }  reportCompare(expect, actual, summary + ': 2');  writeLineToLog('test 3');  expect = 'b,c,';  actual = '';  try  {    f(createThrow("null"), createPrint("'b'"), createPrint("'c'"));  }  catch(ex)  {    actual += 'caught ' + ex;  }  reportCompare(expect, actual, summary + ': 3');  writeLineToLog('test 4');  expect = 'a,c,';  actual = '';  try  {    f(createPrint("'a'"), createThrow("'b'"), createPrint("'c'"));  }  catch(ex)  {    actual += 'caught ' + ex;  }  reportCompare(expect, actual, summary + ': 4');  writeLineToLog('test 5');  expect = 'c,caught b';  actual = '';  try  {    f(createThrow("null"), createThrow("'b'"), createPrint("'c'"));  }  catch(ex)  {    actual += 'caught ' + ex;  }  reportCompare(expect, actual, summary + ': 5');  exitFunc ('test');}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f577de167a7d5c2c46bde55f8215c4317b1d256f/regress-350312-02.js/clean/js/tests/js1_5/Regress/regress-350312-02.js