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

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

Issue 2868423004: Revert of [inspector] use creation stack trace as parent for async call chains (Closed)
Patch Set: Created 3 years, 7 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-for-await-of-promise-stack.js
diff --git a/test/inspector/debugger/async-for-await-of-promise-stack.js b/test/inspector/debugger/async-for-await-of-promise-stack.js
index 2ed886f18e86215f6e64e91562df9bc13b9d844d..4e6c0bf15ecdde7bc89562cb0b20111ae5415c4e 100644
--- a/test/inspector/debugger/async-for-await-of-promise-stack.js
+++ b/test/inspector/debugger/async-for-await-of-promise-stack.js
@@ -50,7 +50,7 @@
Debugger();
}
}
-// TODO(kozyatinskiy): this stack trace is suspicious.
+
async function UncaughtReject() {
async function loop() {
for await (let x of [Reject(new Error("boop"))]) {
@@ -59,7 +59,7 @@
}
return loop().catch(Debugger);
}
-// TODO(kozyatinskiy): this stack trace is suspicious.
+
async function UncaughtThrow() {
async function loop() {
for await (let x of [Throw(new Error("boop"))]) {
@@ -88,7 +88,7 @@
Debugger(e);
}
}
-// TODO(kozyatinskiy): this stack trace is suspicious.
+
async function UncaughtRejectOnBreak() {
async function loop() {
for await (let x of RejectOnReturn(["0", "1"])) {
@@ -97,7 +97,7 @@
}
return loop().catch(Debugger);
}
-// TODO(kozyatinskiy): this stack trace is suspicious.
+
async function UncaughtThrowOnBreak() {
async function loop() {
for await (let x of ThrowOnReturn(["0", "1"])) {
@@ -106,7 +106,7 @@
}
return loop().catch(Debugger);
}
-// TODO(kozyatinskiy): this stack trace is suspicious.
+
async function CaughtRejectOnBreak() {
try {
for await (let x of RejectOnReturn(["0", "1"])) {
@@ -126,7 +126,7 @@
Debugger(e);
}
}
-//# sourceURL=test.js`, 9, 26);
+//# sourceURL=test.js`, 7, 129);
InspectorTest.setupScriptMap();
Protocol.Debugger.onPaused(message => {
« no previous file with comments | « src/inspector/v8-stack-trace-impl.cc ('k') | test/inspector/debugger/async-for-await-of-promise-stack-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698