diff -r c07abe14c188 -r 5143eba2a872 RegressionTests__JavaScriptTests.st --- a/RegressionTests__JavaScriptTests.st Tue Nov 11 22:50:28 2008 +0100 +++ b/RegressionTests__JavaScriptTests.st Tue Nov 11 22:52:46 2008 +0100 @@ -3934,6 +3934,31 @@ " ! +testTryCatchExceptionInfo + self + execute:'test(arg) { + var handlerWasCalled = false; + + function failingMethod() { return 10 / arg; }; + + try { + failingMethod(); + } catch (Error e) { + println(e.description()); + handlerWasCalled = true; + } + return handlerWasCalled; + }' + for:JavaScriptEnvironment new + arguments:#(0) + expect:true + + " + self run:#testTryCatchExceptionInfo + self new testTryCatchExceptionInfo + " +! + testTryCatchFinally01 self execute:'test(arg) {