Rename debug event enum to be consistent.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 29 Apr 2014 14:03:06 +0000 (14:03 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 29 Apr 2014 14:03:06 +0000 (14:03 +0000)
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
src/debug.cc

index 16db88e..8523387 100644 (file)
@@ -20,7 +20,7 @@ enum DebugEvent {
   BeforeCompile = 4,
   AfterCompile  = 5,
   ScriptCollected = 6,
-  UncaughtExceptionInPromise = 7,
+  PendingExceptionInPromise = 7,
   BreakForCommand = 8
 };
 
index 33ca157..dadaa91 100644 (file)
@@ -2669,7 +2669,7 @@ void Debugger::OnException(Handle<Object> exception,
 
   // Determine event;
   DebugEvent event = promise->IsUndefined()
-      ? v8::Exception : v8::UncaughtExceptionInPromise;
+      ? v8::Exception : v8::PendingExceptionInPromise;
 
   // Create the event data object.
   Handle<Object> event_data;