f61facfdaf
Creation stack trace points to the place where callback was actually chained, scheduled points where parent promise was resolved.
For async tasks without creation stack (e.g. setTimeout) we continue to use scheduled as creation since usually they are the same.
BUG=v8:6189
R=dgozman@chromium.org
Review-Url: https://codereview.chromium.org/2868493002
Cr-Original-Commit-Position: refs/heads/master@{#45198}
Committed: e118462f18
Review-Url: https://codereview.chromium.org/2868493002
Cr-Commit-Position: refs/heads/master@{#45266}
43 lines
757 B
Plaintext
43 lines
757 B
Plaintext
Checks that async stacks works for async/await
|
|
foo2 (test.js:15:2)
|
|
-- async function --
|
|
foo2 (test.js:13:19)
|
|
test (test.js:24:8)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo2 (test.js:17:2)
|
|
-- async function --
|
|
foo2 (test.js:13:19)
|
|
test (test.js:24:8)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo1 (test.js:9:2)
|
|
foo2 (test.js:18:8)
|
|
-- async function --
|
|
foo2 (test.js:13:19)
|
|
test (test.js:24:8)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo1 (test.js:9:2)
|
|
-- Promise.resolve --
|
|
foo2 (test.js:19:43)
|
|
-- async function --
|
|
foo2 (test.js:13:19)
|
|
test (test.js:24:8)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo2 (test.js:20:2)
|
|
-- async function --
|
|
foo2 (test.js:13:19)
|
|
test (test.js:24:8)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
type : undefined
|
|
}
|
|
}
|
|
}
|