From 3a92c26e36640158271c3e3243e444060fe7be96 Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Tue, 29 Apr 2014 14:03:06 +0000 Subject: [PATCH] Rename debug event enum to be consistent. R=aandrey@chromium.org Review URL: https://codereview.chromium.org/255163004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21054 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- include/v8-debug.h | 2 +- src/debug.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/v8-debug.h b/include/v8-debug.h index 16db88e..8523387 100644 --- a/include/v8-debug.h +++ b/include/v8-debug.h @@ -20,7 +20,7 @@ enum DebugEvent { BeforeCompile = 4, AfterCompile = 5, ScriptCollected = 6, - UncaughtExceptionInPromise = 7, + PendingExceptionInPromise = 7, BreakForCommand = 8 }; diff --git a/src/debug.cc b/src/debug.cc index 33ca157..dadaa91 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -2669,7 +2669,7 @@ void Debugger::OnException(Handle exception, // Determine event; DebugEvent event = promise->IsUndefined() - ? v8::Exception : v8::UncaughtExceptionInPromise; + ? v8::Exception : v8::PendingExceptionInPromise; // Create the event data object. Handle event_data; -- 2.7.4