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

Unified Diff: test/inspector/debugger/async-stack-await.js

Issue 2648873002: [inspector] added creation frame for async call chains for promises (Closed)
Patch Set: fixed usage of external reference 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: test/inspector/debugger/async-stack-await.js
diff --git a/test/inspector/debugger/async-stack-await.js b/test/inspector/debugger/async-stack-await.js
index a7eb741904b0015378eccb6d173f8bfbef36f4bc..c630d29fc484cc6f844b0bb5b90145ddbea1d8c4 100644
--- a/test/inspector/debugger/async-stack-await.js
+++ b/test/inspector/debugger/async-stack-await.js
@@ -32,6 +32,10 @@ Protocol.Debugger.onPaused(message => {
while (asyncStackTrace) {
InspectorTest.log(`-- ${asyncStackTrace.description} --`);
InspectorTest.logCallFrames(asyncStackTrace.callFrames);
+ if (asyncStackTrace.creationFrame) {
+ InspectorTest.log('--- created in ---');
+ InspectorTest.logCallFrames([asyncStackTrace.creationFrame]);
dgozman 2017/01/24 01:02:41 Let's dump it on the same line as description.
kozy 2017/01/24 21:43:39 Done.
+ }
asyncStackTrace = asyncStackTrace.parent;
}
InspectorTest.log('');

Powered by Google App Engine
This is Rietveld 408576698