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

Unified Diff: src/debug/debug.cc

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: PoC 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/debug/debug.cc
diff --git a/src/debug/debug.cc b/src/debug/debug.cc
index bed6b12e864cabf740bf9447d45c0a309765cc83..cb82a12a515a89c940471986cf8e6e224e52ddc4 100644
--- a/src/debug/debug.cc
+++ b/src/debug/debug.cc
@@ -1927,9 +1927,6 @@ void ResetPromiseHandle(const v8::WeakCallbackInfo<void>& info) {
// different stacks from direct Promise use, but we save and restore a
// stack once for all reactions.
//
-// If this isn't a case of async function, we return false, otherwise
-// we set the correct id and return true.
-//
// TODO(littledan): Improve this case.
int GetReferenceAsyncTaskId(Isolate* isolate, Handle<JSPromise> promise) {
Handle<Symbol> handled_by_symbol =

Powered by Google App Engine
This is Rietveld 408576698