| 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) doTestChainedPromises (async-callstack-promises.html:96) |
| 9 [setTimeout] | 9 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 10 0) promiseCallback (async-callstack-promises.html:21) | |
| 11 1) timeoutPromise (async-callstack-promises.html:9) | |
| 12 2) doTestChainedPromises (async-callstack-promises.html:93) | |
| 13 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 14 [setTimeout] | 10 [setTimeout] |
| 15 0) testFunction (async-callstack-promises.html:43) | 11 0) testFunction (async-callstack-promises.html:43) |
| 16 [setTimeout] | 12 [setTimeout] |
| 17 0) scheduleTestFunction (debugger-test.js:3) | 13 0) scheduleTestFunction (debugger-test.js:3) |
| 18 <... skipped remaining frames ...> | 14 <... skipped remaining frames ...> |
| 19 | 15 |
| 20 Call stack: | 16 Call stack: |
| 21 0) catchCallback (async-callstack-promises.html:118) | 17 0) catchCallback (async-callstack-promises.html:118) |
| 22 [Promise.resolve] | 18 [Promise.reject] |
| 23 0) resolveCallback (async-callstack-promises.html:29) | 19 0) doTestThrowFromChain (async-callstack-promises.html:117) |
| 24 1) settledPromise (async-callstack-promises.html:38) | 20 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 25 2) chained2 (async-callstack-promises.html:112) | |
| 26 [Promise.resolve] | |
| 27 0) resolvePromise (async-callstack-promises.html:12) | |
| 28 [setTimeout] | |
| 29 0) promiseCallback (async-callstack-promises.html:21) | |
| 30 1) timeoutPromise (async-callstack-promises.html:9) | |
| 31 2) chained1 (async-callstack-promises.html:110) | |
| 32 [Promise.resolve] | |
| 33 0) resolvePromise (async-callstack-promises.html:12) | |
| 34 [setTimeout] | |
| 35 0) promiseCallback (async-callstack-promises.html:21) | |
| 36 1) timeoutPromise (async-callstack-promises.html:9) | |
| 37 2) doTestThrowFromChain (async-callstack-promises.html:109) | |
| 38 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 39 [setTimeout] | 21 [setTimeout] |
| 40 0) testFunction (async-callstack-promises.html:43) | 22 0) testFunction (async-callstack-promises.html:43) |
| 41 [setTimeout] | 23 [setTimeout] |
| 42 0) scheduleTestFunction (debugger-test.js:3) | 24 0) scheduleTestFunction (debugger-test.js:3) |
| 43 <... skipped remaining frames ...> | 25 <... skipped remaining frames ...> |
| 44 | 26 |
| 45 Call stack: | 27 Call stack: |
| 46 0) catchCallback (async-callstack-promises.html:130) | 28 0) catchCallback (async-callstack-promises.html:130) |
| 47 [Promise.reject] | 29 [Promise.reject] |
| 48 0) rejectPromise (async-callstack-promises.html:16) | 30 0) doTestThrowFromChain (async-callstack-promises.html:129) |
| 49 [setTimeout] | 31 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 50 0) promiseCallback (async-callstack-promises.html:19) | |
| 51 1) timeoutPromise (async-callstack-promises.html:9) | |
| 52 2) chained3 (async-callstack-promises.html:126) | |
| 53 [Promise.resolve] | |
| 54 0) resolvePromise (async-callstack-promises.html:12) | |
| 55 [setTimeout] | |
| 56 0) promiseCallback (async-callstack-promises.html:21) | |
| 57 1) timeoutPromise (async-callstack-promises.html:9) | |
| 58 2) chained2 (async-callstack-promises.html:124) | |
| 59 [Promise.resolve] | |
| 60 0) resolvePromise (async-callstack-promises.html:12) | |
| 61 [setTimeout] | |
| 62 0) promiseCallback (async-callstack-promises.html:21) | |
| 63 1) timeoutPromise (async-callstack-promises.html:9) | |
| 64 2) chained1 (async-callstack-promises.html:122) | |
| 65 [Promise.resolve] | |
| 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] | 32 [setTimeout] |
| 73 0) testFunction (async-callstack-promises.html:43) | 33 0) testFunction (async-callstack-promises.html:43) |
| 74 [setTimeout] | 34 [setTimeout] |
| 75 0) scheduleTestFunction (debugger-test.js:3) | 35 0) scheduleTestFunction (debugger-test.js:3) |
| 76 <... skipped remaining frames ...> | 36 <... skipped remaining frames ...> |
| 77 | 37 |
| 78 Call stack: | 38 Call stack: |
| 79 0) chained1 (async-callstack-promises.html:80) | 39 0) chained1 (async-callstack-promises.html:80) |
| 80 [Promise.resolve] | 40 [Promise.resolve] |
| 81 0) resolvePromise (async-callstack-promises.html:12) | 41 0) doTestChainedPromises (async-callstack-promises.html:79) |
| 82 [setTimeout] | 42 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 83 0) promiseCallback (async-callstack-promises.html:21) | |
| 84 1) timeoutPromise (async-callstack-promises.html:9) | |
| 85 2) doTestChainedPromises (async-callstack-promises.html:79) | |
| 86 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 87 [setTimeout] | 43 [setTimeout] |
| 88 0) testFunction (async-callstack-promises.html:43) | 44 0) testFunction (async-callstack-promises.html:43) |
| 89 [setTimeout] | 45 [setTimeout] |
| 90 0) scheduleTestFunction (debugger-test.js:3) | 46 0) scheduleTestFunction (debugger-test.js:3) |
| 91 <... skipped remaining frames ...> | 47 <... skipped remaining frames ...> |
| 92 | 48 |
| 93 Call stack: | 49 Call stack: |
| 94 0) chained2 (async-callstack-promises.html:83) | 50 0) chained2 (async-callstack-promises.html:83) |
| 95 [Promise.resolve] | 51 [Promise.resolve] |
| 96 0) resolvePromise (async-callstack-promises.html:12) | 52 0) doTestChainedPromises (async-callstack-promises.html:82) |
| 97 [setTimeout] | 53 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 98 0) promiseCallback (async-callstack-promises.html:21) | |
| 99 1) timeoutPromise (async-callstack-promises.html:9) | |
| 100 2) chained1 (async-callstack-promises.html:81) | |
| 101 [Promise.resolve] | |
| 102 0) resolvePromise (async-callstack-promises.html:12) | |
| 103 [setTimeout] | |
| 104 0) promiseCallback (async-callstack-promises.html:21) | |
| 105 1) timeoutPromise (async-callstack-promises.html:9) | |
| 106 2) doTestChainedPromises (async-callstack-promises.html:79) | |
| 107 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 108 [setTimeout] | 54 [setTimeout] |
| 109 0) testFunction (async-callstack-promises.html:43) | 55 0) testFunction (async-callstack-promises.html:43) |
| 110 [setTimeout] | 56 [setTimeout] |
| 111 0) scheduleTestFunction (debugger-test.js:3) | 57 0) scheduleTestFunction (debugger-test.js:3) |
| 112 <... skipped remaining frames ...> | 58 <... skipped remaining frames ...> |
| 113 | 59 |
| 114 Call stack: | 60 Call stack: |
| 115 0) chained3 (async-callstack-promises.html:86) | 61 0) chained3 (async-callstack-promises.html:86) |
| 116 [Promise.resolve] | 62 [Promise.resolve] |
| 117 0) resolvePromise (async-callstack-promises.html:12) | 63 0) doTestChainedPromises (async-callstack-promises.html:85) |
| 118 [setTimeout] | 64 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 119 0) promiseCallback (async-callstack-promises.html:21) | |
| 120 1) timeoutPromise (async-callstack-promises.html:9) | |
| 121 2) chained1 (async-callstack-promises.html:81) | |
| 122 [Promise.resolve] | |
| 123 0) resolvePromise (async-callstack-promises.html:12) | |
| 124 [setTimeout] | |
| 125 0) promiseCallback (async-callstack-promises.html:21) | |
| 126 1) timeoutPromise (async-callstack-promises.html:9) | |
| 127 2) doTestChainedPromises (async-callstack-promises.html:79) | |
| 128 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 129 [setTimeout] | 65 [setTimeout] |
| 130 0) testFunction (async-callstack-promises.html:43) | 66 0) testFunction (async-callstack-promises.html:43) |
| 131 [setTimeout] | 67 [setTimeout] |
| 132 0) scheduleTestFunction (debugger-test.js:3) | 68 0) scheduleTestFunction (debugger-test.js:3) |
| 133 <... skipped remaining frames ...> | 69 <... skipped remaining frames ...> |
| 134 | 70 |
| 135 Call stack: | 71 Call stack: |
| 136 0) chained4 (async-callstack-promises.html:89) | 72 0) chained4 (async-callstack-promises.html:89) |
| 137 [Promise.resolve] | 73 [Promise.resolve] |
| 138 0) resolveCallback (async-callstack-promises.html:29) | 74 0) doTestChainedPromises (async-callstack-promises.html:88) |
| 139 1) settledPromise (async-callstack-promises.html:38) | 75 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 140 2) chained3 (async-callstack-promises.html:87) | |
| 141 [Promise.resolve] | |
| 142 0) resolvePromise (async-callstack-promises.html:12) | |
| 143 [setTimeout] | |
| 144 0) promiseCallback (async-callstack-promises.html:21) | |
| 145 1) timeoutPromise (async-callstack-promises.html:9) | |
| 146 2) chained1 (async-callstack-promises.html:81) | |
| 147 [Promise.resolve] | |
| 148 0) resolvePromise (async-callstack-promises.html:12) | |
| 149 [setTimeout] | |
| 150 0) promiseCallback (async-callstack-promises.html:21) | |
| 151 1) timeoutPromise (async-callstack-promises.html:9) | |
| 152 2) doTestChainedPromises (async-callstack-promises.html:79) | |
| 153 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 154 [setTimeout] | 76 [setTimeout] |
| 155 0) testFunction (async-callstack-promises.html:43) | 77 0) testFunction (async-callstack-promises.html:43) |
| 156 [setTimeout] | 78 [setTimeout] |
| 157 0) scheduleTestFunction (debugger-test.js:3) | 79 0) scheduleTestFunction (debugger-test.js:3) |
| 158 <... skipped remaining frames ...> | 80 <... skipped remaining frames ...> |
| 159 | 81 |
| 160 Call stack: | 82 Call stack: |
| 161 0) errorCallback (async-callstack-promises.html:60) | 83 0) errorCallback (async-callstack-promises.html:60) |
| 162 [Promise.reject] | 84 [Promise.reject] |
| 163 0) doTestPromiseResolveAndReject (async-callstack-promises.html:137) | 85 0) doTestPromiseResolveAndReject (async-callstack-promises.html:137) |
| 164 1) testFunctionTimeout (async-callstack-promises.html:50) | 86 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 165 [setTimeout] | 87 [setTimeout] |
| 166 0) testFunction (async-callstack-promises.html:43) | 88 0) testFunction (async-callstack-promises.html:43) |
| 167 [setTimeout] | 89 [setTimeout] |
| 168 0) scheduleTestFunction (debugger-test.js:3) | 90 0) scheduleTestFunction (debugger-test.js:3) |
| 169 <... skipped remaining frames ...> | 91 <... skipped remaining frames ...> |
| 170 | 92 |
| 171 Call stack: | 93 Call stack: |
| 172 0) errorCallback (async-callstack-promises.html:60) | 94 0) errorCallback (async-callstack-promises.html:60) |
| 173 [Promise.reject] | 95 [Promise.reject] |
| 174 0) rejectCallback (async-callstack-promises.html:33) | 96 0) doTestSettledPromises (async-callstack-promises.html:74) |
| 175 1) settledPromise (async-callstack-promises.html:36) | 97 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 176 2) doTestSettledPromises (async-callstack-promises.html:74) | |
| 177 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 178 [setTimeout] | 98 [setTimeout] |
| 179 0) testFunction (async-callstack-promises.html:43) | 99 0) testFunction (async-callstack-promises.html:43) |
| 180 [setTimeout] | 100 [setTimeout] |
| 181 0) scheduleTestFunction (debugger-test.js:3) | 101 0) scheduleTestFunction (debugger-test.js:3) |
| 182 <... skipped remaining frames ...> | 102 <... skipped remaining frames ...> |
| 183 | 103 |
| 184 Call stack: | 104 Call stack: |
| 185 0) promiseCallback (async-callstack-promises.html:67) | 105 0) promiseCallback (async-callstack-promises.html:67) |
| 186 1) doTestPromiseConstructor (async-callstack-promises.html:65) | 106 1) doTestPromiseConstructor (async-callstack-promises.html:65) |
| 187 2) testFunctionTimeout (async-callstack-promises.html:50) | 107 2) testFunctionTimeout (async-callstack-promises.html:50) |
| 188 [setTimeout] | 108 [setTimeout] |
| 189 0) testFunction (async-callstack-promises.html:43) | 109 0) testFunction (async-callstack-promises.html:43) |
| 190 [setTimeout] | 110 [setTimeout] |
| 191 0) scheduleTestFunction (debugger-test.js:3) | 111 0) scheduleTestFunction (debugger-test.js:3) |
| 192 <... skipped remaining frames ...> | 112 <... skipped remaining frames ...> |
| 193 | 113 |
| 194 Call stack: | 114 Call stack: |
| 195 0) thenCallback (async-callstack-promises.html:55) | 115 0) thenCallback (async-callstack-promises.html:55) |
| 196 [Promise.resolve] | 116 [Promise.resolve] |
| 197 0) doTestPromiseResolveAndReject (async-callstack-promises.html:136) | 117 0) doTestChainedPromises (async-callstack-promises.html:91) |
| 198 1) testFunctionTimeout (async-callstack-promises.html:50) | 118 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 199 [setTimeout] | 119 [setTimeout] |
| 200 0) testFunction (async-callstack-promises.html:43) | 120 0) testFunction (async-callstack-promises.html:43) |
| 201 [setTimeout] | 121 [setTimeout] |
| 202 0) scheduleTestFunction (debugger-test.js:3) | 122 0) scheduleTestFunction (debugger-test.js:3) |
| 203 <... skipped remaining frames ...> | 123 <... skipped remaining frames ...> |
| 204 | 124 |
| 205 Call stack: | 125 Call stack: |
| 206 0) thenCallback (async-callstack-promises.html:55) | 126 0) thenCallback (async-callstack-promises.html:55) |
| 207 [Promise.resolve] | 127 [Promise.resolve] |
| 208 0) resolveCallback (async-callstack-promises.html:29) | 128 0) doTestPromiseAll (async-callstack-promises.html:104) |
| 209 1) settledPromise (async-callstack-promises.html:38) | 129 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 210 2) doTestSettledPromises (async-callstack-promises.html:73) | |
| 211 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 212 [setTimeout] | 130 [setTimeout] |
| 213 0) testFunction (async-callstack-promises.html:43) | 131 0) testFunction (async-callstack-promises.html:43) |
| 214 [setTimeout] | 132 [setTimeout] |
| 215 0) scheduleTestFunction (debugger-test.js:3) | 133 0) scheduleTestFunction (debugger-test.js:3) |
| 216 <... skipped remaining frames ...> | 134 <... skipped remaining frames ...> |
| 217 | 135 |
| 218 Call stack: | 136 Call stack: |
| 219 0) thenCallback (async-callstack-promises.html:55) | 137 0) thenCallback (async-callstack-promises.html:55) |
| 220 [Promise.resolve] | 138 [Promise.resolve] |
| 221 0) resolvePromise (async-callstack-promises.html:12) | 139 0) doTestPromiseResolveAndReject (async-callstack-promises.html:136) |
| 222 [setTimeout] | 140 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 223 0) promiseCallback (async-callstack-promises.html:21) | |
| 224 1) timeoutPromise (async-callstack-promises.html:9) | |
| 225 2) chained4 (async-callstack-promises.html:90) | |
| 226 [Promise.resolve] | |
| 227 0) resolveCallback (async-callstack-promises.html:29) | |
| 228 1) settledPromise (async-callstack-promises.html:38) | |
| 229 2) chained3 (async-callstack-promises.html:87) | |
| 230 [Promise.resolve] | |
| 231 0) resolvePromise (async-callstack-promises.html:12) | |
| 232 [setTimeout] | |
| 233 0) promiseCallback (async-callstack-promises.html:21) | |
| 234 1) timeoutPromise (async-callstack-promises.html:9) | |
| 235 2) chained1 (async-callstack-promises.html:81) | |
| 236 [Promise.resolve] | |
| 237 0) resolvePromise (async-callstack-promises.html:12) | |
| 238 [setTimeout] | |
| 239 0) promiseCallback (async-callstack-promises.html:21) | |
| 240 1) timeoutPromise (async-callstack-promises.html:9) | |
| 241 2) doTestChainedPromises (async-callstack-promises.html:79) | |
| 242 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 243 [setTimeout] | 141 [setTimeout] |
| 244 0) testFunction (async-callstack-promises.html:43) | 142 0) testFunction (async-callstack-promises.html:43) |
| 245 [setTimeout] | 143 [setTimeout] |
| 246 0) scheduleTestFunction (debugger-test.js:3) | 144 0) scheduleTestFunction (debugger-test.js:3) |
| 247 <... skipped remaining frames ...> | 145 <... skipped remaining frames ...> |
| 248 | 146 |
| 249 Call stack: | 147 Call stack: |
| 250 0) thenCallback (async-callstack-promises.html:55) | 148 0) thenCallback (async-callstack-promises.html:55) |
| 251 [Promise.resolve] | 149 [Promise.resolve] |
| 252 0) resolvePromise (async-callstack-promises.html:12) | 150 0) doTestSettledPromises (async-callstack-promises.html:73) |
| 253 [setTimeout] | 151 1) testFunctionTimeout (async-callstack-promises.html:50) |
| 254 0) promiseCallback (async-callstack-promises.html:21) | |
| 255 1) timeoutPromise (async-callstack-promises.html:9) | |
| 256 2) doTestPromiseAll (async-callstack-promises.html:103) | |
| 257 3) testFunctionTimeout (async-callstack-promises.html:50) | |
| 258 [setTimeout] | 152 [setTimeout] |
| 259 0) testFunction (async-callstack-promises.html:43) | 153 0) testFunction (async-callstack-promises.html:43) |
| 260 [setTimeout] | 154 [setTimeout] |
| 261 0) scheduleTestFunction (debugger-test.js:3) | 155 0) scheduleTestFunction (debugger-test.js:3) |
| 262 <... skipped remaining frames ...> | 156 <... skipped remaining frames ...> |
| 263 | 157 |
| 264 | 158 |
| OLD | NEW |