Revision: 7646 Author: [email protected] Date: Mon Apr 18 06:28:00 2011 Log: Minor cosmetic changes.
Review URL: http://codereview.chromium.org/6875003 http://code.google.com/p/v8/source/detail?r=7646 Modified: /branches/bleeding_edge/src/messages.cc /branches/bleeding_edge/test/cctest/test-api.cc ======================================= --- /branches/bleeding_edge/src/messages.cc Mon Apr 11 09:16:52 2011 +++ /branches/bleeding_edge/src/messages.cc Mon Apr 18 06:28:00 2011 @@ -131,7 +131,7 @@ Handle<Object> callback_data(listener.get(1)); { // Do not allow exceptions to propagate. - v8::TryCatch tryCatch; + v8::TryCatch try_catch; callback(api_message_obj, v8::Utils::ToLocal(callback_data)); } if (isolate->has_scheduled_exception()) { ======================================= --- /branches/bleeding_edge/test/cctest/test-api.cc Mon Apr 11 09:16:52 2011 +++ /branches/bleeding_edge/test/cctest/test-api.cc Mon Apr 18 06:28:00 2011 @@ -8711,6 +8711,8 @@ 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" -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
