Chromium Code Reviews

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

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.
Jump to:
View unified diff |
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 --
6 promise (test.js:20:2) 6 promise (test.js:20:2)
7 (anonymous) (testPromise.js:0:0) 7 (anonymous) (testPromise.js:0:0)
8 --- created in ---
9 promise (test.js:18:11)
8 10
9 11
10 Running test: testPromiseResolvedBySetTimeout 12 Running test: testPromiseResolvedBySetTimeout
11 foo1 (test.js:9:2) 13 foo1 (test.js:9:2)
14 -- Promise.resolve --
15 --- created in ---
16 promiseResolvedBySetTimeout (test.js:26:11)
12 -- setTimeout -- 17 -- setTimeout --
13 promiseResolvedBySetTimeout (test.js:28:2) 18 promiseResolvedBySetTimeout (test.js:28:2)
14 (anonymous) (testPromiseResolvedBySetTimeout.js:0:0) 19 (anonymous) (testPromiseResolvedBySetTimeout.js:0:0)
15 20
16 21
17 Running test: testPromiseAll 22 Running test: testPromiseAll
18 foo1 (test.js:9:2) 23 foo1 (test.js:9:2)
19 -- Promise.resolve -- 24 -- Promise.resolve --
25 --- created in ---
26 promiseAll (test.js:37:19)
27 -- Promise.resolve --
20 promiseAll (test.js:39:2) 28 promiseAll (test.js:39:2)
21 (anonymous) (testPromiseAll.js:0:0) 29 (anonymous) (testPromiseAll.js:0:0)
30 --- created in ---
31 promiseAll (test.js:36:11)
22 32
23 33
24 Running test: testPromiseAllReverseOrder 34 Running test: testPromiseAllReverseOrder
25 foo1 (test.js:9:2) 35 foo1 (test.js:9:2)
26 -- Promise.resolve -- 36 -- Promise.resolve --
37 --- created in ---
38 promiseAllReverseOrder (test.js:48:19)
39 -- Promise.resolve --
27 promiseAllReverseOrder (test.js:50:2) 40 promiseAllReverseOrder (test.js:50:2)
28 (anonymous) (testPromiseAllReverseOrder.js:0:0) 41 (anonymous) (testPromiseAllReverseOrder.js:0:0)
42 --- created in ---
43 promiseAllReverseOrder (test.js:46:11)
29 44
30 45
31 Running test: testPromiseRace 46 Running test: testPromiseRace
32 foo1 (test.js:9:2) 47 foo1 (test.js:9:2)
33 -- Promise.resolve -- 48 -- Promise.resolve --
49 --- created in ---
50 promiseRace (test.js:59:19)
51 -- Promise.resolve --
34 promiseRace (test.js:60:2) 52 promiseRace (test.js:60:2)
35 (anonymous) (testPromiseRace.js:0:0) 53 (anonymous) (testPromiseRace.js:0:0)
54 --- created in ---
55 promiseRace (test.js:57:11)
36 56
37 57
38 Running test: testTwoChainedCallbacks 58 Running test: testTwoChainedCallbacks
39 foo1 (test.js:9:2) 59 foo1 (test.js:9:2)
40 -- Promise.resolve -- 60 -- Promise.resolve --
41 twoChainedCallbacks (test.js:69:2) 61 twoChainedCallbacks (test.js:69:2)
42 (anonymous) (testTwoChainedCallbacks.js:0:0) 62 (anonymous) (testTwoChainedCallbacks.js:0:0)
63 --- created in ---
64 twoChainedCallbacks (test.js:67:11)
43 65
44 foo2 (test.js:13:2) 66 foo2 (test.js:13:2)
45 -- Promise.resolve -- 67 -- Promise.resolve --
68 --- created in ---
69 twoChainedCallbacks (test.js:68:14)
70 -- Promise.resolve --
46 twoChainedCallbacks (test.js:69:2) 71 twoChainedCallbacks (test.js:69:2)
47 (anonymous) (testTwoChainedCallbacks.js:0:0) 72 (anonymous) (testTwoChainedCallbacks.js:0:0)
73 --- created in ---
74 twoChainedCallbacks (test.js:67:11)
48 75
49 76
50 Running test: testPromiseResolve 77 Running test: testPromiseResolve
51 foo1 (test.js:9:2) 78 foo1 (test.js:9:2)
52 -- Promise.resolve -- 79 -- Promise.resolve --
53 promiseResolve (test.js:74:17) 80 promiseResolve (test.js:74:17)
54 (anonymous) (testPromiseResolve.js:0:0) 81 (anonymous) (testPromiseResolve.js:0:0)
82 --- created in ---
83 promiseResolve (test.js:74:17)
55 84
56 foo2 (test.js:13:2) 85 foo2 (test.js:13:2)
57 -- Promise.resolve -- 86 -- Promise.resolve --
87 --- created in ---
88 promiseResolve (test.js:74:27)
89 -- Promise.resolve --
58 promiseResolve (test.js:74:17) 90 promiseResolve (test.js:74:17)
59 (anonymous) (testPromiseResolve.js:0:0) 91 (anonymous) (testPromiseResolve.js:0:0)
92 --- created in ---
93 promiseResolve (test.js:74:17)
60 94
61 95
62 Running test: testThenableJobResolvedInSetTimeout 96 Running test: testThenableJobResolvedInSetTimeout
63 foo1 (test.js:9:2) 97 foo1 (test.js:9:2)
98 -- Promise.resolve --
99 --- created in ---
100 thenableJob (test.js:80:13)
64 -- setTimeout -- 101 -- setTimeout --
65 thenableJob (test.js:81:4) 102 thenableJob (test.js:81:4)
66 p1.then (test.js:86:25) 103 p1.then (test.js:86:25)
67 -- Promise.resolve -- 104 -- Promise.resolve --
68 thenableJobResolvedInSetTimeout (test.js:87:2) 105 thenableJobResolvedInSetTimeout (test.js:87:2)
69 (anonymous) (testThenableJobResolvedInSetTimeout.js:0:0) 106 (anonymous) (testThenableJobResolvedInSetTimeout.js:0:0)
107 --- created in ---
108 thenableJobResolvedInSetTimeout (test.js:85:11)
70 109
71 110
72 Running test: testThenableJobResolvedInSetTimeoutWithStack 111 Running test: testThenableJobResolvedInSetTimeoutWithStack
73 foo1 (test.js:9:2) 112 foo1 (test.js:9:2)
74 -- Promise.resolve -- 113 -- Promise.resolve --
75 inner (test.js:94:6) 114 inner (test.js:94:6)
115 --- created in ---
116 thenableJob (test.js:98:13)
76 -- setTimeout -- 117 -- setTimeout --
77 thenableJob (test.js:99:4) 118 thenableJob (test.js:99:4)
78 p1.then (test.js:104:25) 119 p1.then (test.js:104:25)
79 -- Promise.resolve -- 120 -- Promise.resolve --
80 thenableJobResolvedInSetTimeoutWithStack (test.js:105:2) 121 thenableJobResolvedInSetTimeoutWithStack (test.js:105:2)
81 (anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0) 122 (anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0)
123 --- created in ---
124 thenableJobResolvedInSetTimeoutWithStack (test.js:103:11)
82 125
83 126
84 Running test: testThenableJobResolvedByPromise 127 Running test: testThenableJobResolvedByPromise
85 foo1 (test.js:9:2) 128 foo1 (test.js:9:2)
86 -- Promise.resolve -- 129 -- Promise.resolve --
130 --- created in ---
131 thenableJob (test.js:112:13)
132 -- Promise.resolve --
87 thenableJob (test.js:113:12) 133 thenableJob (test.js:113:12)
88 p1.then (test.js:118:25) 134 p1.then (test.js:118:25)
135 --- created in ---
136 thenableJob (test.js:113:12)
89 -- Promise.resolve -- 137 -- Promise.resolve --
90 thenableJobResolvedByPromise (test.js:119:2) 138 thenableJobResolvedByPromise (test.js:119:2)
91 (anonymous) (testThenableJobResolvedByPromise.js:0:0) 139 (anonymous) (testThenableJobResolvedByPromise.js:0:0)
140 --- created in ---
141 thenableJobResolvedByPromise (test.js:117:11)
92 142
93 143
94 Running test: testThenableJobResolvedByPromiseWithStack 144 Running test: testThenableJobResolvedByPromiseWithStack
95 foo1 (test.js:9:2) 145 foo1 (test.js:9:2)
96 -- Promise.resolve -- 146 -- Promise.resolve --
97 inner (test.js:126:6) 147 inner (test.js:126:6)
148 --- created in ---
149 thenableJob (test.js:130:13)
98 -- Promise.resolve -- 150 -- Promise.resolve --
99 thenableJob (test.js:131:12) 151 thenableJob (test.js:131:12)
100 p1.then (test.js:136:25) 152 p1.then (test.js:136:25)
153 --- created in ---
154 thenableJob (test.js:131:12)
101 -- Promise.resolve -- 155 -- Promise.resolve --
102 thenableJobResolvedByPromiseWithStack (test.js:137:2) 156 thenableJobResolvedByPromiseWithStack (test.js:137:2)
103 (anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0) 157 (anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0)
158 --- created in ---
159 thenableJobResolvedByPromiseWithStack (test.js:135:11)
104 160
105 161
106 Running test: testLateThenCallback 162 Running test: testLateThenCallback
107 foo1 (test.js:9:2) 163 foo1 (test.js:9:2)
108 -- Promise.resolve -- 164 -- Promise.resolve --
109 lateThenCallback (test.js:144:2) 165 lateThenCallback (test.js:144:2)
110 (anonymous) (testLateThenCallback.js:0:0) 166 (anonymous) (testLateThenCallback.js:0:0)
167 --- created in ---
168 lateThenCallback (test.js:143:11)
111 169
112 170
113 Running test: testComplex 171 Running test: testComplex
114 inner1 (test.js:154:6) 172 inner1 (test.js:154:6)
115 foo1 (test.js:156:4) 173 foo1 (test.js:156:4)
116 -- Promise.resolve -- 174 -- Promise.resolve --
117 inner2 (test.js:162:6) 175 inner2 (test.js:162:6)
176 --- created in ---
177 foo2 (test.js:164:14)
118 -- Promise.resolve -- 178 -- Promise.resolve --
119 foo2 (test.js:165:12) 179 foo2 (test.js:165:12)
180 --- created in ---
181 foo2 (test.js:165:12)
120 -- Promise.resolve -- 182 -- Promise.resolve --
121 inner3 (test.js:172:6) 183 inner3 (test.js:172:6)
184 --- created in ---
185 foo3 (test.js:174:14)
122 -- setTimeout -- 186 -- setTimeout --
123 foo3 (test.js:175:4) 187 foo3 (test.js:175:4)
124 -- Promise.resolve -- 188 -- Promise.resolve --
189 --- created in ---
190 complex (test.js:199:5)
191 -- Promise.resolve --
192 --- created in ---
193 foo5 (test.js:188:7)
194 -- Promise.resolve --
195 --- created in ---
196 foo5 (test.js:187:19)
197 -- Promise.resolve --
198 foo5 (test.js:187:52)
199 --- created in ---
125 foo5 (test.js:187:52) 200 foo5 (test.js:187:52)
126 -- Promise.resolve -- 201 -- Promise.resolve --
202 --- created in ---
203 foo6 (test.js:193:7)
204 -- Promise.resolve --
205 --- created in ---
206 foo6 (test.js:192:19)
207 -- Promise.resolve --
208 foo6 (test.js:192:34)
209 --- created in ---
127 foo6 (test.js:192:34) 210 foo6 (test.js:192:34)
128 -- Promise.resolve -- 211 -- Promise.resolve --
129 complex (test.js:196:18) 212 complex (test.js:196:18)
130 (anonymous) (testComplex.js:0:0) 213 (anonymous) (testComplex.js:0:0)
214 --- created in ---
215 complex (test.js:196:18)
131 216
132 p.then (test.js:207:8) 217 p.then (test.js:207:8)
133 -- Promise.resolve -- 218 -- Promise.resolve --
219 --- created in ---
220 complex (test.js:202:5)
221 -- Promise.resolve --
134 inner2 (test.js:162:6) 222 inner2 (test.js:162:6)
223 --- created in ---
224 foo2 (test.js:164:14)
135 -- Promise.resolve -- 225 -- Promise.resolve --
136 foo2 (test.js:165:12) 226 foo2 (test.js:165:12)
227 --- created in ---
228 foo2 (test.js:165:12)
137 -- Promise.resolve -- 229 -- Promise.resolve --
138 inner3 (test.js:172:6) 230 inner3 (test.js:172:6)
231 --- created in ---
232 foo3 (test.js:174:14)
139 -- setTimeout -- 233 -- setTimeout --
140 foo3 (test.js:175:4) 234 foo3 (test.js:175:4)
141 -- Promise.resolve -- 235 -- Promise.resolve --
236 --- created in ---
237 complex (test.js:199:5)
238 -- Promise.resolve --
239 --- created in ---
240 foo5 (test.js:188:7)
241 -- Promise.resolve --
242 --- created in ---
243 foo5 (test.js:187:19)
244 -- Promise.resolve --
245 foo5 (test.js:187:52)
246 --- created in ---
142 foo5 (test.js:187:52) 247 foo5 (test.js:187:52)
143 -- Promise.resolve -- 248 -- Promise.resolve --
249 --- created in ---
250 foo6 (test.js:193:7)
251 -- Promise.resolve --
252 --- created in ---
253 foo6 (test.js:192:19)
254 -- Promise.resolve --
255 foo6 (test.js:192:34)
256 --- created in ---
144 foo6 (test.js:192:34) 257 foo6 (test.js:192:34)
145 -- Promise.resolve -- 258 -- Promise.resolve --
146 complex (test.js:196:18) 259 complex (test.js:196:18)
147 (anonymous) (testComplex.js:0:0) 260 (anonymous) (testComplex.js:0:0)
261 --- created in ---
262 complex (test.js:196:18)
148 263
149 264
150 Running test: testReject 265 Running test: testReject
151 foo1 (test.js:9:2) 266 foo1 (test.js:9:2)
152 -- Promise.reject -- 267 -- Promise.reject --
153 reject (test.js:217:17) 268 reject (test.js:217:17)
154 (anonymous) (testReject.js:0:0) 269 (anonymous) (testReject.js:0:0)
270 --- created in ---
271 reject (test.js:217:17)
155 272
OLDNEW

Powered by Google App Engine