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

Unified Diff: src/js/macros.py

Issue 2578923002: [inspector] async stacks for Promise.then calls... (Closed)
Patch Set: async-stacks 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/js/macros.py
diff --git a/src/js/macros.py b/src/js/macros.py
index 36e00ac2bd0bf0fc1cac8784c26cb5d870af8a7a..85c1f2a6392b64dd85506eb7ffd68f70ff503722 100644
--- a/src/js/macros.py
+++ b/src/js/macros.py
@@ -211,11 +211,4 @@ define kAsyncFunction = 1;
define kPromiseResolve = 2;
define kPromiseReject = 3;
define kPromiseResolveThenableJob = 4;
-
-# These values must be kept in sync with PromiseDebugActionType in
-# src/debug/debug.h
-define kEnqueue = 0;
-define kEnqueueRecurring = 1;
-define kCancel = 2;
-define kWillHandle = 3;
-define kDidHandle = 4;
+define kPromiseCollected = 5;

Powered by Google App Engine
This is Rietveld 408576698