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

Unified Diff: src/top.cc

Issue 6816021: Report stack overflow exceptions to V8 message listeners (Closed) Base URL: http://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 | « no previous file | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/top.cc
===================================================================
--- src/top.cc (revision 7547)
+++ src/top.cc (working copy)
@@ -828,7 +828,8 @@
thread_local_top()->has_pending_message_ = false;
if (thread_local_top()->pending_message_ != NULL) {
MessageHandler::ReportMessage(thread_local_top()->pending_message_);
- } else if (!thread_local_top()->pending_message_obj_->IsTheHole()) {
+ }
+ if (!thread_local_top()->pending_message_obj_->IsTheHole()) {
antonm 2011/04/07 18:53:32 sorry for popping up, but maybe stack overflow exc
yurys 2011/04/08 07:51:42 MessageHandler::ReportMessage(const char*) just pr
Handle<Object> message_obj(thread_local_top()->pending_message_obj_);
if (thread_local_top()->pending_message_script_ != NULL) {
Handle<Script> script(thread_local_top()->pending_message_script_);
« no previous file with comments | « no previous file | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698