Commit 3a92c26e authored by yangguo@chromium.org's avatar yangguo@chromium.org

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
parent 30e2802e
......@@ -20,7 +20,7 @@ enum DebugEvent {
BeforeCompile = 4,
AfterCompile = 5,
ScriptCollected = 6,
UncaughtExceptionInPromise = 7,
PendingExceptionInPromise = 7,
BreakForCommand = 8
};
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment