OLD | NEW |
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) |
(...skipping 20 matching lines...) Expand all Loading... |
31 2) chained1 (async-callstack-promises.html:110) | 31 2) chained1 (async-callstack-promises.html:110) |
32 [Promise.resolve] | 32 [Promise.resolve] |
33 0) resolvePromise (async-callstack-promises.html:12) | 33 0) resolvePromise (async-callstack-promises.html:12) |
34 [setTimeout] | 34 [setTimeout] |
35 0) promiseCallback (async-callstack-promises.html:21) | 35 0) promiseCallback (async-callstack-promises.html:21) |
36 1) timeoutPromise (async-callstack-promises.html:9) | 36 1) timeoutPromise (async-callstack-promises.html:9) |
37 2) doTestThrowFromChain (async-callstack-promises.html:109) | 37 2) doTestThrowFromChain (async-callstack-promises.html:109) |
38 3) testFunctionTimeout (async-callstack-promises.html:50) | 38 3) testFunctionTimeout (async-callstack-promises.html:50) |
39 [setTimeout] | 39 [setTimeout] |
40 0) testFunction (async-callstack-promises.html:43) | 40 0) testFunction (async-callstack-promises.html:43) |
| 41 [setTimeout] |
| 42 0) scheduleTestFunction (debugger-test.js:3) |
| 43 <... skipped remaining frames ...> |
41 | 44 |
42 Call stack: | 45 Call stack: |
43 0) catchCallback (async-callstack-promises.html:130) | 46 0) catchCallback (async-callstack-promises.html:130) |
44 [Promise.reject] | 47 [Promise.reject] |
45 0) rejectPromise (async-callstack-promises.html:16) | 48 0) rejectPromise (async-callstack-promises.html:16) |
46 [setTimeout] | 49 [setTimeout] |
47 0) promiseCallback (async-callstack-promises.html:19) | 50 0) promiseCallback (async-callstack-promises.html:19) |
48 1) timeoutPromise (async-callstack-promises.html:9) | 51 1) timeoutPromise (async-callstack-promises.html:9) |
49 2) chained3 (async-callstack-promises.html:126) | 52 2) chained3 (async-callstack-promises.html:126) |
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) chained2 (async-callstack-promises.html:124) | 58 2) chained2 (async-callstack-promises.html:124) |
56 [Promise.resolve] | 59 [Promise.resolve] |
57 0) resolvePromise (async-callstack-promises.html:12) | 60 0) resolvePromise (async-callstack-promises.html:12) |
58 [setTimeout] | 61 [setTimeout] |
59 0) promiseCallback (async-callstack-promises.html:21) | 62 0) promiseCallback (async-callstack-promises.html:21) |
60 1) timeoutPromise (async-callstack-promises.html:9) | 63 1) timeoutPromise (async-callstack-promises.html:9) |
61 2) chained1 (async-callstack-promises.html:122) | 64 2) chained1 (async-callstack-promises.html:122) |
62 [Promise.resolve] | 65 [Promise.resolve] |
63 0) resolvePromise (async-callstack-promises.html:12) | 66 0) resolvePromise (async-callstack-promises.html:12) |
| 67 [setTimeout] |
| 68 0) promiseCallback (async-callstack-promises.html:21) |
| 69 1) timeoutPromise (async-callstack-promises.html:9) |
| 70 2) doTestThrowFromChain (async-callstack-promises.html:121) |
| 71 3) testFunctionTimeout (async-callstack-promises.html:50) |
| 72 [setTimeout] |
| 73 0) testFunction (async-callstack-promises.html:43) |
| 74 [setTimeout] |
| 75 0) scheduleTestFunction (debugger-test.js:3) |
| 76 <... skipped remaining frames ...> |
64 | 77 |
65 Call stack: | 78 Call stack: |
66 0) chained1 (async-callstack-promises.html:80) | 79 0) chained1 (async-callstack-promises.html:80) |
67 [Promise.resolve] | 80 [Promise.resolve] |
68 0) resolvePromise (async-callstack-promises.html:12) | 81 0) resolvePromise (async-callstack-promises.html:12) |
69 [setTimeout] | 82 [setTimeout] |
70 0) promiseCallback (async-callstack-promises.html:21) | 83 0) promiseCallback (async-callstack-promises.html:21) |
71 1) timeoutPromise (async-callstack-promises.html:9) | 84 1) timeoutPromise (async-callstack-promises.html:9) |
72 2) doTestChainedPromises (async-callstack-promises.html:79) | 85 2) doTestChainedPromises (async-callstack-promises.html:79) |
73 3) testFunctionTimeout (async-callstack-promises.html:50) | 86 3) testFunctionTimeout (async-callstack-promises.html:50) |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 0) promiseCallback (async-callstack-promises.html:21) | 233 0) promiseCallback (async-callstack-promises.html:21) |
221 1) timeoutPromise (async-callstack-promises.html:9) | 234 1) timeoutPromise (async-callstack-promises.html:9) |
222 2) chained1 (async-callstack-promises.html:81) | 235 2) chained1 (async-callstack-promises.html:81) |
223 [Promise.resolve] | 236 [Promise.resolve] |
224 0) resolvePromise (async-callstack-promises.html:12) | 237 0) resolvePromise (async-callstack-promises.html:12) |
225 [setTimeout] | 238 [setTimeout] |
226 0) promiseCallback (async-callstack-promises.html:21) | 239 0) promiseCallback (async-callstack-promises.html:21) |
227 1) timeoutPromise (async-callstack-promises.html:9) | 240 1) timeoutPromise (async-callstack-promises.html:9) |
228 2) doTestChainedPromises (async-callstack-promises.html:79) | 241 2) doTestChainedPromises (async-callstack-promises.html:79) |
229 3) testFunctionTimeout (async-callstack-promises.html:50) | 242 3) testFunctionTimeout (async-callstack-promises.html:50) |
| 243 [setTimeout] |
| 244 0) testFunction (async-callstack-promises.html:43) |
| 245 [setTimeout] |
| 246 0) scheduleTestFunction (debugger-test.js:3) |
| 247 <... skipped remaining frames ...> |
230 | 248 |
231 Call stack: | 249 Call stack: |
232 0) thenCallback (async-callstack-promises.html:55) | 250 0) thenCallback (async-callstack-promises.html:55) |
233 [Promise.resolve] | 251 [Promise.resolve] |
234 0) resolvePromise (async-callstack-promises.html:12) | 252 0) resolvePromise (async-callstack-promises.html:12) |
235 [setTimeout] | 253 [setTimeout] |
236 0) promiseCallback (async-callstack-promises.html:21) | 254 0) promiseCallback (async-callstack-promises.html:21) |
237 1) timeoutPromise (async-callstack-promises.html:9) | 255 1) timeoutPromise (async-callstack-promises.html:9) |
238 2) doTestPromiseAll (async-callstack-promises.html:103) | 256 2) doTestPromiseAll (async-callstack-promises.html:103) |
239 3) testFunctionTimeout (async-callstack-promises.html:50) | 257 3) testFunctionTimeout (async-callstack-promises.html:50) |
240 [setTimeout] | 258 [setTimeout] |
241 0) testFunction (async-callstack-promises.html:43) | 259 0) testFunction (async-callstack-promises.html:43) |
242 [setTimeout] | 260 [setTimeout] |
243 0) scheduleTestFunction (debugger-test.js:3) | 261 0) scheduleTestFunction (debugger-test.js:3) |
244 <... skipped remaining frames ...> | 262 <... skipped remaining frames ...> |
245 | 263 |
246 | 264 |
OLD | NEW |