Index: test/cctest/compiler/test-run-jsexceptions.cc |
diff --git a/test/cctest/compiler/test-run-jsexceptions.cc b/test/cctest/compiler/test-run-jsexceptions.cc |
index 2e2e10e9de9a58787cc2b0edda99e3a5c3ac0df3..f06dc5f3156d28773fbe384da42af897cadf817e 100644 |
--- a/test/cctest/compiler/test-run-jsexceptions.cc |
+++ b/test/cctest/compiler/test-run-jsexceptions.cc |
@@ -13,10 +13,7 @@ |
i::FLAG_turbo_exceptions = true; |
FunctionTester T("(function(a,b) { if (a) { throw b; } else { return b; }})"); |
-// TODO(mstarzinger) |
-#if 0 |
T.CheckThrows(T.true_value(), T.NewObject("new Error")); |
-#endif |
T.CheckCall(T.Val(23), T.false_value(), T.Val(23)); |
} |
@@ -56,14 +53,11 @@ |
FunctionTester T(src); |
v8::Handle<v8::Message> message; |
-// TODO(mstarzinger) |
-#if 0 |
message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?")); |
CHECK(message->Get()->Equals(v8_str("Uncaught Error: Wat?"))); |
message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!")); |
CHECK(message->Get()->Equals(v8_str("Uncaught Kaboom!"))); |
-#endif |
} |
@@ -80,14 +74,11 @@ |
FunctionTester T(src); |
v8::Handle<v8::Message> message; |
-// TODO(mstarzinger) |
-#if 0 |
message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?")); |
CHECK(message->Get()->Equals(v8_str("Uncaught Error: Wat?"))); |
message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!")); |
CHECK(message->Get()->Equals(v8_str("Uncaught Kaboom!"))); |
-#endif |
} |