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

Unified Diff: src/runtime/runtime-debug.cc

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: added is_breakable into PromiseCreatedEvent Created 3 years, 11 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/runtime/runtime-debug.cc
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
index 2f91a037cc754737fa12fd5fbb12767a9a7eab4b..350ef06469f4599c1f914776672b9071a0100277 100644
--- a/src/runtime/runtime-debug.cc
+++ b/src/runtime/runtime-debug.cc
@@ -1833,6 +1833,13 @@ RUNTIME_FUNCTION(Runtime_DebugPushPromise) {
return isolate->heap()->undefined_value();
}
+RUNTIME_FUNCTION(Runtime_DebugSetNonBreakableAsyncEvents) {
+ DCHECK_EQ(1, args.length());
+ HandleScope scope(isolate);
+ CONVERT_BOOLEAN_ARG_CHECKED(value, 0);
+ isolate->debug()->set_non_breakable_async_events(value);
+ return isolate->heap()->undefined_value();
+}
RUNTIME_FUNCTION(Runtime_DebugPopPromise) {
DCHECK_EQ(0, args.length());

Powered by Google App Engine
This is Rietveld 408576698