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

Unified Diff: src/execution.cc

Issue 249503002: Trigger debug event on not yet caught exception in promises. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: always use original exception Created 6 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
Index: src/execution.cc
diff --git a/src/execution.cc b/src/execution.cc
index d52d471b1bd21c675d5b4d08fad4e513ad0f8750..7754e02b9cb9ae67b54e46f89cab9dbc92e19274 100644
--- a/src/execution.cc
+++ b/src/execution.cc
@@ -316,7 +316,7 @@ void Execution::RunMicrotasks(Isolate* isolate) {
isolate->run_microtasks(),
isolate->factory()->undefined_value(),
0,
- NULL).Assert();
+ NULL).Check();
}
@@ -327,7 +327,7 @@ void Execution::EnqueueMicrotask(Isolate* isolate, Handle<Object> microtask) {
isolate->enqueue_external_microtask(),
isolate->factory()->undefined_value(),
1,
- args).Assert();
+ args).Check();
}
« src/debug-debugger.js ('K') | « src/debug-debugger.js ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698