Index: test/inspector/debugger/async-stack-for-promise-expected.txt |
diff --git a/test/inspector/debugger/async-stack-for-promise-expected.txt b/test/inspector/debugger/async-stack-for-promise-expected.txt |
index dfa595190968cffac6925b6f5e0d20e86c4cfdc5..58479042e016ca640353b41cb98ced95d042ad7c 100644 |
--- a/test/inspector/debugger/async-stack-for-promise-expected.txt |
+++ b/test/inspector/debugger/async-stack-for-promise-expected.txt |
@@ -5,10 +5,15 @@ foo1 (test.js:9:2) |
-- Promise.resolve -- |
promise (test.js:20:2) |
(anonymous) (testPromise.js:0:0) |
+--- created in --- |
+promise (test.js:18:11) |
Running test: testPromiseResolvedBySetTimeout |
foo1 (test.js:9:2) |
+-- Promise.resolve -- |
+--- created in --- |
+promiseResolvedBySetTimeout (test.js:26:11) |
-- setTimeout -- |
promiseResolvedBySetTimeout (test.js:28:2) |
(anonymous) (testPromiseResolvedBySetTimeout.js:0:0) |
@@ -17,22 +22,37 @@ promiseResolvedBySetTimeout (test.js:28:2) |
Running test: testPromiseAll |
foo1 (test.js:9:2) |
-- Promise.resolve -- |
+--- created in --- |
+promiseAll (test.js:37:19) |
+-- Promise.resolve -- |
promiseAll (test.js:39:2) |
(anonymous) (testPromiseAll.js:0:0) |
+--- created in --- |
+promiseAll (test.js:36:11) |
Running test: testPromiseAllReverseOrder |
foo1 (test.js:9:2) |
-- Promise.resolve -- |
+--- created in --- |
+promiseAllReverseOrder (test.js:48:19) |
+-- Promise.resolve -- |
promiseAllReverseOrder (test.js:50:2) |
(anonymous) (testPromiseAllReverseOrder.js:0:0) |
+--- created in --- |
+promiseAllReverseOrder (test.js:46:11) |
Running test: testPromiseRace |
foo1 (test.js:9:2) |
-- Promise.resolve -- |
+--- created in --- |
+promiseRace (test.js:59:19) |
+-- Promise.resolve -- |
promiseRace (test.js:60:2) |
(anonymous) (testPromiseRace.js:0:0) |
+--- created in --- |
+promiseRace (test.js:57:11) |
Running test: testTwoChainedCallbacks |
@@ -40,11 +60,18 @@ foo1 (test.js:9:2) |
-- Promise.resolve -- |
twoChainedCallbacks (test.js:69:2) |
(anonymous) (testTwoChainedCallbacks.js:0:0) |
+--- created in --- |
+twoChainedCallbacks (test.js:67:11) |
foo2 (test.js:13:2) |
-- Promise.resolve -- |
+--- created in --- |
+twoChainedCallbacks (test.js:68:14) |
+-- Promise.resolve -- |
twoChainedCallbacks (test.js:69:2) |
(anonymous) (testTwoChainedCallbacks.js:0:0) |
+--- created in --- |
+twoChainedCallbacks (test.js:67:11) |
Running test: testPromiseResolve |
@@ -52,55 +79,84 @@ foo1 (test.js:9:2) |
-- Promise.resolve -- |
promiseResolve (test.js:74:17) |
(anonymous) (testPromiseResolve.js:0:0) |
+--- created in --- |
+promiseResolve (test.js:74:17) |
foo2 (test.js:13:2) |
-- Promise.resolve -- |
+--- created in --- |
+promiseResolve (test.js:74:27) |
+-- Promise.resolve -- |
promiseResolve (test.js:74:17) |
(anonymous) (testPromiseResolve.js:0:0) |
+--- created in --- |
+promiseResolve (test.js:74:17) |
Running test: testThenableJobResolvedInSetTimeout |
foo1 (test.js:9:2) |
+-- Promise.resolve -- |
+--- created in --- |
+thenableJob (test.js:80:13) |
-- setTimeout -- |
thenableJob (test.js:81:4) |
p1.then (test.js:86:25) |
-- Promise.resolve -- |
thenableJobResolvedInSetTimeout (test.js:87:2) |
(anonymous) (testThenableJobResolvedInSetTimeout.js:0:0) |
+--- created in --- |
+thenableJobResolvedInSetTimeout (test.js:85:11) |
Running test: testThenableJobResolvedInSetTimeoutWithStack |
foo1 (test.js:9:2) |
-- Promise.resolve -- |
inner (test.js:94:6) |
+--- created in --- |
+thenableJob (test.js:98:13) |
-- setTimeout -- |
thenableJob (test.js:99:4) |
p1.then (test.js:104:25) |
-- Promise.resolve -- |
thenableJobResolvedInSetTimeoutWithStack (test.js:105:2) |
(anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0) |
+--- created in --- |
+thenableJobResolvedInSetTimeoutWithStack (test.js:103:11) |
Running test: testThenableJobResolvedByPromise |
foo1 (test.js:9:2) |
-- Promise.resolve -- |
+--- created in --- |
+thenableJob (test.js:112:13) |
+-- Promise.resolve -- |
thenableJob (test.js:113:12) |
p1.then (test.js:118:25) |
+--- created in --- |
+thenableJob (test.js:113:12) |
-- Promise.resolve -- |
thenableJobResolvedByPromise (test.js:119:2) |
(anonymous) (testThenableJobResolvedByPromise.js:0:0) |
+--- created in --- |
+thenableJobResolvedByPromise (test.js:117:11) |
Running test: testThenableJobResolvedByPromiseWithStack |
foo1 (test.js:9:2) |
-- Promise.resolve -- |
inner (test.js:126:6) |
+--- created in --- |
+thenableJob (test.js:130:13) |
-- Promise.resolve -- |
thenableJob (test.js:131:12) |
p1.then (test.js:136:25) |
+--- created in --- |
+thenableJob (test.js:131:12) |
-- Promise.resolve -- |
thenableJobResolvedByPromiseWithStack (test.js:137:2) |
(anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0) |
+--- created in --- |
+thenableJobResolvedByPromiseWithStack (test.js:135:11) |
Running test: testLateThenCallback |
@@ -108,6 +164,8 @@ foo1 (test.js:9:2) |
-- Promise.resolve -- |
lateThenCallback (test.js:144:2) |
(anonymous) (testLateThenCallback.js:0:0) |
+--- created in --- |
+lateThenCallback (test.js:143:11) |
Running test: testComplex |
@@ -115,36 +173,93 @@ inner1 (test.js:154:6) |
foo1 (test.js:156:4) |
-- Promise.resolve -- |
inner2 (test.js:162:6) |
+--- created in --- |
+foo2 (test.js:164:14) |
-- Promise.resolve -- |
foo2 (test.js:165:12) |
+--- created in --- |
+foo2 (test.js:165:12) |
-- Promise.resolve -- |
inner3 (test.js:172:6) |
+--- created in --- |
+foo3 (test.js:174:14) |
-- setTimeout -- |
foo3 (test.js:175:4) |
-- Promise.resolve -- |
+--- created in --- |
+complex (test.js:199:5) |
+-- Promise.resolve -- |
+--- created in --- |
+foo5 (test.js:188:7) |
+-- Promise.resolve -- |
+--- created in --- |
+foo5 (test.js:187:19) |
+-- Promise.resolve -- |
foo5 (test.js:187:52) |
+--- created in --- |
+foo5 (test.js:187:52) |
+-- Promise.resolve -- |
+--- created in --- |
+foo6 (test.js:193:7) |
-- Promise.resolve -- |
+--- created in --- |
+foo6 (test.js:192:19) |
+-- Promise.resolve -- |
+foo6 (test.js:192:34) |
+--- created in --- |
foo6 (test.js:192:34) |
-- Promise.resolve -- |
complex (test.js:196:18) |
(anonymous) (testComplex.js:0:0) |
+--- created in --- |
+complex (test.js:196:18) |
p.then (test.js:207:8) |
-- Promise.resolve -- |
+--- created in --- |
+complex (test.js:202:5) |
+-- Promise.resolve -- |
inner2 (test.js:162:6) |
+--- created in --- |
+foo2 (test.js:164:14) |
-- Promise.resolve -- |
foo2 (test.js:165:12) |
+--- created in --- |
+foo2 (test.js:165:12) |
-- Promise.resolve -- |
inner3 (test.js:172:6) |
+--- created in --- |
+foo3 (test.js:174:14) |
-- setTimeout -- |
foo3 (test.js:175:4) |
-- Promise.resolve -- |
+--- created in --- |
+complex (test.js:199:5) |
+-- Promise.resolve -- |
+--- created in --- |
+foo5 (test.js:188:7) |
+-- Promise.resolve -- |
+--- created in --- |
+foo5 (test.js:187:19) |
+-- Promise.resolve -- |
foo5 (test.js:187:52) |
+--- created in --- |
+foo5 (test.js:187:52) |
+-- Promise.resolve -- |
+--- created in --- |
+foo6 (test.js:193:7) |
-- Promise.resolve -- |
+--- created in --- |
+foo6 (test.js:192:19) |
+-- Promise.resolve -- |
+foo6 (test.js:192:34) |
+--- created in --- |
foo6 (test.js:192:34) |
-- Promise.resolve -- |
complex (test.js:196:18) |
(anonymous) (testComplex.js:0:0) |
+--- created in --- |
+complex (test.js:196:18) |
Running test: testReject |
@@ -152,4 +267,6 @@ foo1 (test.js:9:2) |
-- Promise.reject -- |
reject (test.js:217:17) |
(anonymous) (testReject.js:0:0) |
+--- created in --- |
+reject (test.js:217:17) |