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

Side by Side Diff: test/inspector/debugger/async-stack-for-promise-expected.txt

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 unified diff | Download patch
OLDNEW
1 Checks that async chains for promises are correct. 1 Checks that async chains for promises are correct.
2 2
3 Running test: testPromise 3 Running test: testPromise
4 foo1 (test.js:9:2) 4 foo1 (test.js:9:2)
5 -- Promise.resolve -- 5 -- Promise.resolve (test.js:19:14)--
6 promise (test.js:19:14) 6 promise (test.js:20:2)
7 (anonymous) (testPromise.js:0:0) 7 (anonymous) (testPromise.js:0:0)
8 8
9 9
10 Running test: testPromiseResolvedBySetTimeout 10 Running test: testPromiseResolvedBySetTimeout
11 foo1 (test.js:9:2) 11 foo1 (test.js:9:2)
12 -- Promise.resolve -- 12 -- Promise.resolve (test.js:27:14)--
13 promiseResolvedBySetTimeout (test.js:27:14) 13 -- setTimeout --
14 promiseResolvedBySetTimeout (test.js:28:2)
14 (anonymous) (testPromiseResolvedBySetTimeout.js:0:0) 15 (anonymous) (testPromiseResolvedBySetTimeout.js:0:0)
15 16
16 17
17 Running test: testPromiseAll 18 Running test: testPromiseAll
18 foo1 (test.js:9:2) 19 foo1 (test.js:9:2)
19 -- Promise.resolve -- 20 -- Promise.resolve (test.js:37:35)--
20 promiseAll (test.js:37:35) 21 -- Promise.resolve (test.js:37:19)--
22 promiseAll (test.js:39:2)
21 (anonymous) (testPromiseAll.js:0:0) 23 (anonymous) (testPromiseAll.js:0:0)
22 24
23 25
24 Running test: testPromiseAllReverseOrder 26 Running test: testPromiseAllReverseOrder
25 foo1 (test.js:9:2) 27 foo1 (test.js:9:2)
26 -- Promise.resolve -- 28 -- Promise.resolve (test.js:48:35)--
27 promiseAllReverseOrder (test.js:48:35) 29 -- Promise.resolve (test.js:48:19)--
30 promiseAllReverseOrder (test.js:50:2)
28 (anonymous) (testPromiseAllReverseOrder.js:0:0) 31 (anonymous) (testPromiseAllReverseOrder.js:0:0)
29 32
30 33
31 Running test: testPromiseRace 34 Running test: testPromiseRace
32 foo1 (test.js:9:2) 35 foo1 (test.js:9:2)
33 -- Promise.resolve -- 36 -- Promise.resolve (test.js:59:36)--
34 promiseRace (test.js:59:36) 37 -- Promise.resolve (test.js:59:19)--
38 promiseRace (test.js:60:2)
35 (anonymous) (testPromiseRace.js:0:0) 39 (anonymous) (testPromiseRace.js:0:0)
36 40
37 41
38 Running test: testTwoChainedCallbacks 42 Running test: testTwoChainedCallbacks
39 foo1 (test.js:9:2) 43 foo1 (test.js:9:2)
40 -- Promise.resolve -- 44 -- Promise.resolve (test.js:68:14)--
41 twoChainedCallbacks (test.js:68:14) 45 twoChainedCallbacks (test.js:69:2)
42 (anonymous) (testTwoChainedCallbacks.js:0:0) 46 (anonymous) (testTwoChainedCallbacks.js:0:0)
43 47
44 foo2 (test.js:13:2) 48 foo2 (test.js:13:2)
45 -- Promise.resolve -- 49 -- Promise.resolve (test.js:68:25)--
46 twoChainedCallbacks (test.js:68:25) 50 -- Promise.resolve (test.js:68:14)--
51 twoChainedCallbacks (test.js:69:2)
47 (anonymous) (testTwoChainedCallbacks.js:0:0) 52 (anonymous) (testTwoChainedCallbacks.js:0:0)
48 53
49 54
50 Running test: testPromiseResolve 55 Running test: testPromiseResolve
51 foo1 (test.js:9:2) 56 foo1 (test.js:9:2)
52 -- Promise.resolve -- 57 -- Promise.resolve (test.js:74:27)--
53 promiseResolve (test.js:74:27) 58 promiseResolve (test.js:74:17)
54 (anonymous) (testPromiseResolve.js:0:0) 59 (anonymous) (testPromiseResolve.js:0:0)
55 60
56 foo2 (test.js:13:2) 61 foo2 (test.js:13:2)
57 -- Promise.resolve -- 62 -- Promise.resolve (test.js:74:38)--
58 promiseResolve (test.js:74:38) 63 -- Promise.resolve (test.js:74:27)--
64 promiseResolve (test.js:74:17)
59 (anonymous) (testPromiseResolve.js:0:0) 65 (anonymous) (testPromiseResolve.js:0:0)
60 66
61 67
62 Running test: testThenableJobResolvedInSetTimeout 68 Running test: testThenableJobResolvedInSetTimeout
63 foo1 (test.js:9:2) 69 foo1 (test.js:9:2)
64 -- Promise.resolve -- 70 -- Promise.resolve (test.js:86:40)--
65 thenableJobResolvedInSetTimeout (test.js:86:40) 71 -- setTimeout --
72 thenableJob (test.js:81:4)
73 p1.then (test.js:86:25)
74 -- Promise.resolve (test.js:86:14)--
75 thenableJobResolvedInSetTimeout (test.js:87:2)
66 (anonymous) (testThenableJobResolvedInSetTimeout.js:0:0) 76 (anonymous) (testThenableJobResolvedInSetTimeout.js:0:0)
67 77
68 78
69 Running test: testThenableJobResolvedInSetTimeoutWithStack 79 Running test: testThenableJobResolvedInSetTimeoutWithStack
70 foo1 (test.js:9:2) 80 foo1 (test.js:9:2)
71 -- Promise.resolve -- 81 -- Promise.resolve (test.js:104:40)--
72 thenableJobResolvedInSetTimeoutWithStack (test.js:104:40) 82 inner (test.js:94:6)
83 -- setTimeout --
84 thenableJob (test.js:99:4)
85 p1.then (test.js:104:25)
86 -- Promise.resolve (test.js:104:14)--
87 thenableJobResolvedInSetTimeoutWithStack (test.js:105:2)
73 (anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0) 88 (anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0)
74 89
75 90
76 Running test: testThenableJobResolvedByPromise 91 Running test: testThenableJobResolvedByPromise
77 foo1 (test.js:9:2) 92 foo1 (test.js:9:2)
78 -- Promise.resolve -- 93 -- Promise.resolve (test.js:118:40)--
79 thenableJobResolvedByPromise (test.js:118:40) 94 -- Promise.resolve (test.js:113:22)--
95 thenableJob (test.js:113:12)
96 p1.then (test.js:118:25)
97 -- Promise.resolve (test.js:118:14)--
98 thenableJobResolvedByPromise (test.js:119:2)
80 (anonymous) (testThenableJobResolvedByPromise.js:0:0) 99 (anonymous) (testThenableJobResolvedByPromise.js:0:0)
81 100
82 101
83 Running test: testThenableJobResolvedByPromiseWithStack 102 Running test: testThenableJobResolvedByPromiseWithStack
84 foo1 (test.js:9:2) 103 foo1 (test.js:9:2)
85 -- Promise.resolve -- 104 -- Promise.resolve (test.js:136:40)--
86 thenableJobResolvedByPromiseWithStack (test.js:136:40) 105 inner (test.js:126:6)
106 -- Promise.resolve (test.js:131:22)--
107 thenableJob (test.js:131:12)
108 p1.then (test.js:136:25)
109 -- Promise.resolve (test.js:136:14)--
110 thenableJobResolvedByPromiseWithStack (test.js:137:2)
87 (anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0) 111 (anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0)
88 112
89 113
90 Running test: testLateThenCallback 114 Running test: testLateThenCallback
91 foo1 (test.js:9:2) 115 foo1 (test.js:9:2)
92 -- Promise.resolve -- 116 -- Promise.resolve (test.js:145:12)--
93 lateThenCallback (test.js:145:12) 117 lateThenCallback (test.js:144:2)
94 (anonymous) (testLateThenCallback.js:0:0) 118 (anonymous) (testLateThenCallback.js:0:0)
95 119
96 120
97 Running test: testComplex 121 Running test: testComplex
98 inner1 (test.js:154:6) 122 inner1 (test.js:154:6)
99 foo1 (test.js:156:4) 123 foo1 (test.js:156:4)
100 -- Promise.resolve -- 124 -- Promise.resolve (test.js:202:5)--
101 complex (test.js:202:5) 125 inner2 (test.js:162:6)
126 -- Promise.resolve (test.js:165:22)--
127 foo2 (test.js:165:12)
128 -- Promise.resolve (test.js:201:5)--
129 inner3 (test.js:172:6)
130 -- setTimeout --
131 foo3 (test.js:175:4)
132 -- Promise.resolve (test.js:200:5)--
133 -- Promise.resolve (test.js:199:5)--
134 -- Promise.resolve (test.js:188:7)--
135 -- Promise.resolve (test.js:187:19)--
136 foo5 (test.js:187:52)
137 -- Promise.resolve (test.js:198:5)--
138 -- Promise.resolve (test.js:193:7)--
139 -- Promise.resolve (test.js:192:19)--
140 foo6 (test.js:192:34)
141 -- Promise.resolve (test.js:197:5)--
142 complex (test.js:196:18)
102 (anonymous) (testComplex.js:0:0) 143 (anonymous) (testComplex.js:0:0)
103 144
104 p.then (test.js:207:8) 145 p.then (test.js:207:8)
105 -- Promise.resolve -- 146 -- Promise.resolve (test.js:206:8)--
106 p.then (test.js:206:8) 147 -- Promise.resolve (test.js:202:5)--
107 -- Promise.resolve -- 148 inner2 (test.js:162:6)
108 setTimeout (test.js:205:6) 149 -- Promise.resolve (test.js:165:22)--
150 foo2 (test.js:165:12)
151 -- Promise.resolve (test.js:201:5)--
152 inner3 (test.js:172:6)
109 -- setTimeout -- 153 -- setTimeout --
110 complex (test.js:204:2) 154 foo3 (test.js:175:4)
155 -- Promise.resolve (test.js:200:5)--
156 -- Promise.resolve (test.js:199:5)--
157 -- Promise.resolve (test.js:188:7)--
158 -- Promise.resolve (test.js:187:19)--
159 foo5 (test.js:187:52)
160 -- Promise.resolve (test.js:198:5)--
161 -- Promise.resolve (test.js:193:7)--
162 -- Promise.resolve (test.js:192:19)--
163 foo6 (test.js:192:34)
164 -- Promise.resolve (test.js:197:5)--
165 complex (test.js:196:18)
111 (anonymous) (testComplex.js:0:0) 166 (anonymous) (testComplex.js:0:0)
112 167
113 168
114 Running test: testReject 169 Running test: testReject
115 foo1 (test.js:9:2) 170 foo1 (test.js:9:2)
116 -- Promise.reject -- 171 -- Promise.reject (test.js:217:31)--
117 reject (test.js:217:31) 172 reject (test.js:217:17)
118 (anonymous) (testReject.js:0:0) 173 (anonymous) (testReject.js:0:0)
119 174
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698