Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1068)

Unified Diff: test/cctest/test-api.cc

Issue 6820003: Allow recursive messages reporting as it is already used. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/top.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index a9051c2d68da516bbb8d47e1cf66b82ac6e0d521..0f08554f09598f5c397c757caa817f2c9217ea88 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -8676,16 +8676,6 @@ static void WithTryCatch(Handle<Message> message, Handle<Value> data) {
}
-static void ThrowFromJS(Handle<Message> message, Handle<Value> data) {
- CompileRun("throw 'ThrowInJS';");
yurys 2011/04/11 07:52:36 Can we rewrite this listener to make it reenterabl
antonm 2011/04/11 16:19:18 No doubt.
-}
-
-
-static void ThrowViaApi(Handle<Message> message, Handle<Value> data) {
- ThrowException(v8_str("ThrowViaApi"));
-}
-
-
static void WebKitLike(Handle<Message> message, Handle<Value> data) {
Handle<String> errorMessageString = message->Get();
CHECK(!errorMessageString.IsEmpty());
@@ -8702,7 +8692,7 @@ THREADED_TEST(ExceptionsDoNotPropagatePastTryCatch) {
context->Global()->Set(v8_str("func"), func);
MessageCallback callbacks[] =
- { NULL, WebKitLike, ThrowViaApi, ThrowFromJS, WithTryCatch };
+ { NULL, WebKitLike, WithTryCatch };
for (unsigned i = 0; i < sizeof(callbacks)/sizeof(callbacks[0]); i++) {
MessageCallback callback = callbacks[i];
if (callback != NULL) {
« no previous file with comments | « src/top.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698