Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index d7621d12cf2ff1af6c02c36abd4c626b418eb612..28a9be159937b9f1399efa6f7de5e9734751ba55 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -8711,6 +8711,8 @@ THREADED_TEST(ExceptionsDoNotPropagatePastTryCatch) { |
if (callback != NULL) { |
V8::AddMessageListener(callback); |
} |
+ // Some small number to control number of times message handler should |
+ // throw an exception. |
call_depth = 5; |
ExpectFalse( |
"var thrown = false;\n" |