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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-promises-expected.txt

Issue 1380573002: DevTools: fix evaluation on the last async call stack in chain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 Tests asynchronous call stacks for Promises. 1 Tests asynchronous call stacks for Promises.
2 2
3 Set timer for test function. 3 Set timer for test function.
4 Captured call stacks in no particular order: 4 Captured call stacks in no particular order:
5 Call stack: 5 Call stack:
6 0) afterJSONStringifyAndParse (async-callstack-promises.html:97) 6 0) afterJSONStringifyAndParse (async-callstack-promises.html:97)
7 [Promise.resolve] 7 [Promise.resolve]
8 0) resolvePromise (async-callstack-promises.html:12) 8 0) resolvePromise (async-callstack-promises.html:12)
9 [setTimeout] 9 [setTimeout]
10 0) promiseCallback (async-callstack-promises.html:21) 10 0) promiseCallback (async-callstack-promises.html:21)
11 1) timeoutPromise (async-callstack-promises.html:9) 11 1) timeoutPromise (async-callstack-promises.html:9)
12 2) doTestChainedPromises (async-callstack-promises.html:93) 12 2) doTestChainedPromises (async-callstack-promises.html:93)
13 3) testFunctionTimeout (async-callstack-promises.html:50) 13 3) testFunctionTimeout (async-callstack-promises.html:50)
14 [setTimeout] 14 [setTimeout]
15 0) testFunction (async-callstack-promises.html:43) 15 0) testFunction (async-callstack-promises.html:43)
16 [setTimeout]
17 0) scheduleTestFunction (debugger-test.js:3)
18 <... skipeed remaining frames ...>
16 19
17 Call stack: 20 Call stack:
18 0) catchCallback (async-callstack-promises.html:118) 21 0) catchCallback (async-callstack-promises.html:118)
19 [Promise.resolve] 22 [Promise.resolve]
20 0) resolvePromise (async-callstack-promises.html:12) 23 0) resolvePromise (async-callstack-promises.html:12)
21 [setTimeout] 24 [setTimeout]
22 0) promiseCallback (async-callstack-promises.html:21) 25 0) promiseCallback (async-callstack-promises.html:21)
23 1) timeoutPromise (async-callstack-promises.html:9) 26 1) timeoutPromise (async-callstack-promises.html:9)
24 2) chained1 (async-callstack-promises.html:110) 27 2) chained1 (async-callstack-promises.html:110)
25 [Promise.resolve] 28 [Promise.resolve]
(...skipping 23 matching lines...) Expand all
49 0) chained1 (async-callstack-promises.html:80) 52 0) chained1 (async-callstack-promises.html:80)
50 [Promise.resolve] 53 [Promise.resolve]
51 0) resolvePromise (async-callstack-promises.html:12) 54 0) resolvePromise (async-callstack-promises.html:12)
52 [setTimeout] 55 [setTimeout]
53 0) promiseCallback (async-callstack-promises.html:21) 56 0) promiseCallback (async-callstack-promises.html:21)
54 1) timeoutPromise (async-callstack-promises.html:9) 57 1) timeoutPromise (async-callstack-promises.html:9)
55 2) doTestChainedPromises (async-callstack-promises.html:79) 58 2) doTestChainedPromises (async-callstack-promises.html:79)
56 3) testFunctionTimeout (async-callstack-promises.html:50) 59 3) testFunctionTimeout (async-callstack-promises.html:50)
57 [setTimeout] 60 [setTimeout]
58 0) testFunction (async-callstack-promises.html:43) 61 0) testFunction (async-callstack-promises.html:43)
62 [setTimeout]
63 0) scheduleTestFunction (debugger-test.js:3)
64 <... skipeed remaining frames ...>
59 65
60 Call stack: 66 Call stack:
61 0) chained2 (async-callstack-promises.html:83) 67 0) chained2 (async-callstack-promises.html:83)
62 [Promise.resolve] 68 [Promise.resolve]
63 0) resolvePromise (async-callstack-promises.html:12) 69 0) resolvePromise (async-callstack-promises.html:12)
64 [setTimeout] 70 [setTimeout]
65 0) promiseCallback (async-callstack-promises.html:21) 71 0) promiseCallback (async-callstack-promises.html:21)
66 1) timeoutPromise (async-callstack-promises.html:9) 72 1) timeoutPromise (async-callstack-promises.html:9)
67 2) chained1 (async-callstack-promises.html:81) 73 2) chained1 (async-callstack-promises.html:81)
68 [Promise.resolve] 74 [Promise.resolve]
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 2) doTestChainedPromises (async-callstack-promises.html:79) 111 2) doTestChainedPromises (async-callstack-promises.html:79)
106 3) testFunctionTimeout (async-callstack-promises.html:50) 112 3) testFunctionTimeout (async-callstack-promises.html:50)
107 113
108 Call stack: 114 Call stack:
109 0) errorCallback (async-callstack-promises.html:60) 115 0) errorCallback (async-callstack-promises.html:60)
110 [Promise.reject] 116 [Promise.reject]
111 0) doTestPromiseResolveAndReject (async-callstack-promises.html:137) 117 0) doTestPromiseResolveAndReject (async-callstack-promises.html:137)
112 1) testFunctionTimeout (async-callstack-promises.html:50) 118 1) testFunctionTimeout (async-callstack-promises.html:50)
113 [setTimeout] 119 [setTimeout]
114 0) testFunction (async-callstack-promises.html:43) 120 0) testFunction (async-callstack-promises.html:43)
121 [setTimeout]
122 0) scheduleTestFunction (debugger-test.js:3)
123 <... skipeed remaining frames ...>
115 124
116 Call stack: 125 Call stack:
117 0) errorCallback (async-callstack-promises.html:60) 126 0) errorCallback (async-callstack-promises.html:60)
118 [Promise.reject] 127 [Promise.reject]
119 0) doTestSettledPromises (async-callstack-promises.html:74) 128 0) doTestSettledPromises (async-callstack-promises.html:74)
120 1) testFunctionTimeout (async-callstack-promises.html:50) 129 1) testFunctionTimeout (async-callstack-promises.html:50)
121 [setTimeout] 130 [setTimeout]
122 0) testFunction (async-callstack-promises.html:43) 131 0) testFunction (async-callstack-promises.html:43)
132 [setTimeout]
133 0) scheduleTestFunction (debugger-test.js:3)
134 <... skipeed remaining frames ...>
123 135
124 Call stack: 136 Call stack:
125 0) promiseCallback (async-callstack-promises.html:67) 137 0) promiseCallback (async-callstack-promises.html:67)
126 1) doTestPromiseConstructor (async-callstack-promises.html:65) 138 1) doTestPromiseConstructor (async-callstack-promises.html:65)
127 2) testFunctionTimeout (async-callstack-promises.html:50) 139 2) testFunctionTimeout (async-callstack-promises.html:50)
128 [setTimeout] 140 [setTimeout]
129 0) testFunction (async-callstack-promises.html:43) 141 0) testFunction (async-callstack-promises.html:43)
142 [setTimeout]
143 0) scheduleTestFunction (debugger-test.js:3)
144 <... skipeed remaining frames ...>
130 145
131 Call stack: 146 Call stack:
132 0) thenCallback (async-callstack-promises.html:55) 147 0) thenCallback (async-callstack-promises.html:55)
133 [Promise.resolve] 148 [Promise.resolve]
134 0) doTestPromiseResolveAndReject (async-callstack-promises.html:136) 149 0) doTestPromiseResolveAndReject (async-callstack-promises.html:136)
135 1) testFunctionTimeout (async-callstack-promises.html:50) 150 1) testFunctionTimeout (async-callstack-promises.html:50)
136 [setTimeout] 151 [setTimeout]
137 0) testFunction (async-callstack-promises.html:43) 152 0) testFunction (async-callstack-promises.html:43)
153 [setTimeout]
154 0) scheduleTestFunction (debugger-test.js:3)
155 <... skipeed remaining frames ...>
138 156
139 Call stack: 157 Call stack:
140 0) thenCallback (async-callstack-promises.html:55) 158 0) thenCallback (async-callstack-promises.html:55)
141 [Promise.resolve] 159 [Promise.resolve]
142 0) doTestSettledPromises (async-callstack-promises.html:73) 160 0) doTestSettledPromises (async-callstack-promises.html:73)
143 1) testFunctionTimeout (async-callstack-promises.html:50) 161 1) testFunctionTimeout (async-callstack-promises.html:50)
144 [setTimeout] 162 [setTimeout]
145 0) testFunction (async-callstack-promises.html:43) 163 0) testFunction (async-callstack-promises.html:43)
164 [setTimeout]
165 0) scheduleTestFunction (debugger-test.js:3)
166 <... skipeed remaining frames ...>
146 167
147 Call stack: 168 Call stack:
148 0) thenCallback (async-callstack-promises.html:55) 169 0) thenCallback (async-callstack-promises.html:55)
149 [Promise.resolve] 170 [Promise.resolve]
150 0) resolvePromise (async-callstack-promises.html:12) 171 0) resolvePromise (async-callstack-promises.html:12)
151 [setTimeout] 172 [setTimeout]
152 0) promiseCallback (async-callstack-promises.html:21) 173 0) promiseCallback (async-callstack-promises.html:21)
153 1) timeoutPromise (async-callstack-promises.html:9) 174 1) timeoutPromise (async-callstack-promises.html:9)
154 2) chained4 (async-callstack-promises.html:90) 175 2) chained4 (async-callstack-promises.html:90)
155 [Promise.resolve] 176 [Promise.resolve]
156 0) resolvePromise (async-callstack-promises.html:12) 177 0) resolvePromise (async-callstack-promises.html:12)
157 [setTimeout] 178 [setTimeout]
158 0) promiseCallback (async-callstack-promises.html:21) 179 0) promiseCallback (async-callstack-promises.html:21)
159 1) timeoutPromise (async-callstack-promises.html:9) 180 1) timeoutPromise (async-callstack-promises.html:9)
160 2) chained1 (async-callstack-promises.html:81) 181 2) chained1 (async-callstack-promises.html:81)
161 182
162 Call stack: 183 Call stack:
163 0) thenCallback (async-callstack-promises.html:55) 184 0) thenCallback (async-callstack-promises.html:55)
164 [Promise.resolve] 185 [Promise.resolve]
165 0) resolvePromise (async-callstack-promises.html:12) 186 0) resolvePromise (async-callstack-promises.html:12)
166 [setTimeout] 187 [setTimeout]
167 0) promiseCallback (async-callstack-promises.html:21) 188 0) promiseCallback (async-callstack-promises.html:21)
168 1) timeoutPromise (async-callstack-promises.html:9) 189 1) timeoutPromise (async-callstack-promises.html:9)
169 2) doTestPromiseAll (async-callstack-promises.html:103) 190 2) doTestPromiseAll (async-callstack-promises.html:103)
170 3) testFunctionTimeout (async-callstack-promises.html:50) 191 3) testFunctionTimeout (async-callstack-promises.html:50)
171 [setTimeout] 192 [setTimeout]
172 0) testFunction (async-callstack-promises.html:43) 193 0) testFunction (async-callstack-promises.html:43)
194 [setTimeout]
195 0) scheduleTestFunction (debugger-test.js:3)
196 <... skipeed remaining frames ...>
173 197
174 198
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698