Chromium Code Reviews

Unified Diff: src/isolate.cc

Issue 266533003: Reland "Trigger exception debug event for promises at the throw site." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index b3a20785f6776c927dc9da8cb8dcf4b4aecb847a..72df9b4b2b131794190e025049fe65f4e8e51362 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1031,8 +1031,7 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) {
// Notify debugger of exception.
if (catchable_by_javascript) {
- debugger_->OnException(
- exception_handle, report_exception, factory()->undefined_value());
+ debugger_->OnException(exception_handle, report_exception);
}
// Generate the message if required.
« src/debug.cc ('K') | « src/debug-debugger.js ('k') | src/mirror-debugger.js » ('j') | no next file with comments »

Powered by Google App Engine