| OLD | NEW |
| 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 (test.js:19:14)-- | 5 -- Promise.resolve -- |
| 6 promise (test.js:20:2) | 6 promise (test.js:19:14) |
| 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 (test.js:27:14)-- | 12 -- Promise.resolve -- |
| 13 -- setTimeout -- | 13 promiseResolvedBySetTimeout (test.js:27:14) |
| 14 promiseResolvedBySetTimeout (test.js:28:2) | |
| 15 (anonymous) (testPromiseResolvedBySetTimeout.js:0:0) | 14 (anonymous) (testPromiseResolvedBySetTimeout.js:0:0) |
| 16 | 15 |
| 17 | 16 |
| 18 Running test: testPromiseAll | 17 Running test: testPromiseAll |
| 19 foo1 (test.js:9:2) | 18 foo1 (test.js:9:2) |
| 20 -- Promise.resolve (test.js:37:35)-- | 19 -- Promise.resolve -- |
| 21 -- Promise.resolve (test.js:37:19)-- | 20 promiseAll (test.js:37:35) |
| 22 promiseAll (test.js:39:2) | |
| 23 (anonymous) (testPromiseAll.js:0:0) | 21 (anonymous) (testPromiseAll.js:0:0) |
| 24 | 22 |
| 25 | 23 |
| 26 Running test: testPromiseAllReverseOrder | 24 Running test: testPromiseAllReverseOrder |
| 27 foo1 (test.js:9:2) | 25 foo1 (test.js:9:2) |
| 28 -- Promise.resolve (test.js:48:35)-- | 26 -- Promise.resolve -- |
| 29 -- Promise.resolve (test.js:48:19)-- | 27 promiseAllReverseOrder (test.js:48:35) |
| 30 promiseAllReverseOrder (test.js:50:2) | |
| 31 (anonymous) (testPromiseAllReverseOrder.js:0:0) | 28 (anonymous) (testPromiseAllReverseOrder.js:0:0) |
| 32 | 29 |
| 33 | 30 |
| 34 Running test: testPromiseRace | 31 Running test: testPromiseRace |
| 35 foo1 (test.js:9:2) | 32 foo1 (test.js:9:2) |
| 36 -- Promise.resolve (test.js:59:36)-- | 33 -- Promise.resolve -- |
| 37 -- Promise.resolve (test.js:59:19)-- | 34 promiseRace (test.js:59:36) |
| 38 promiseRace (test.js:60:2) | |
| 39 (anonymous) (testPromiseRace.js:0:0) | 35 (anonymous) (testPromiseRace.js:0:0) |
| 40 | 36 |
| 41 | 37 |
| 42 Running test: testTwoChainedCallbacks | 38 Running test: testTwoChainedCallbacks |
| 43 foo1 (test.js:9:2) | 39 foo1 (test.js:9:2) |
| 44 -- Promise.resolve (test.js:68:14)-- | 40 -- Promise.resolve -- |
| 45 twoChainedCallbacks (test.js:69:2) | 41 twoChainedCallbacks (test.js:68:14) |
| 46 (anonymous) (testTwoChainedCallbacks.js:0:0) | 42 (anonymous) (testTwoChainedCallbacks.js:0:0) |
| 47 | 43 |
| 48 foo2 (test.js:13:2) | 44 foo2 (test.js:13:2) |
| 49 -- Promise.resolve (test.js:68:25)-- | 45 -- Promise.resolve -- |
| 50 -- Promise.resolve (test.js:68:14)-- | 46 twoChainedCallbacks (test.js:68:25) |
| 51 twoChainedCallbacks (test.js:69:2) | |
| 52 (anonymous) (testTwoChainedCallbacks.js:0:0) | 47 (anonymous) (testTwoChainedCallbacks.js:0:0) |
| 53 | 48 |
| 54 | 49 |
| 55 Running test: testPromiseResolve | 50 Running test: testPromiseResolve |
| 56 foo1 (test.js:9:2) | 51 foo1 (test.js:9:2) |
| 57 -- Promise.resolve (test.js:74:27)-- | 52 -- Promise.resolve -- |
| 58 promiseResolve (test.js:74:17) | 53 promiseResolve (test.js:74:27) |
| 59 (anonymous) (testPromiseResolve.js:0:0) | 54 (anonymous) (testPromiseResolve.js:0:0) |
| 60 | 55 |
| 61 foo2 (test.js:13:2) | 56 foo2 (test.js:13:2) |
| 62 -- Promise.resolve (test.js:74:38)-- | 57 -- Promise.resolve -- |
| 63 -- Promise.resolve (test.js:74:27)-- | 58 promiseResolve (test.js:74:38) |
| 64 promiseResolve (test.js:74:17) | |
| 65 (anonymous) (testPromiseResolve.js:0:0) | 59 (anonymous) (testPromiseResolve.js:0:0) |
| 66 | 60 |
| 67 | 61 |
| 68 Running test: testThenableJobResolvedInSetTimeout | 62 Running test: testThenableJobResolvedInSetTimeout |
| 69 foo1 (test.js:9:2) | 63 foo1 (test.js:9:2) |
| 70 -- Promise.resolve (test.js:86:40)-- | 64 -- Promise.resolve -- |
| 71 -- setTimeout -- | 65 thenableJobResolvedInSetTimeout (test.js:86:40) |
| 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) | |
| 76 (anonymous) (testThenableJobResolvedInSetTimeout.js:0:0) | 66 (anonymous) (testThenableJobResolvedInSetTimeout.js:0:0) |
| 77 | 67 |
| 78 | 68 |
| 79 Running test: testThenableJobResolvedInSetTimeoutWithStack | 69 Running test: testThenableJobResolvedInSetTimeoutWithStack |
| 80 foo1 (test.js:9:2) | 70 foo1 (test.js:9:2) |
| 81 -- Promise.resolve (test.js:104:40)-- | 71 -- Promise.resolve -- |
| 82 inner (test.js:94:6) | 72 thenableJobResolvedInSetTimeoutWithStack (test.js:104:40) |
| 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) | |
| 88 (anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0) | 73 (anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0) |
| 89 | 74 |
| 90 | 75 |
| 91 Running test: testThenableJobResolvedByPromise | 76 Running test: testThenableJobResolvedByPromise |
| 92 foo1 (test.js:9:2) | 77 foo1 (test.js:9:2) |
| 93 -- Promise.resolve (test.js:118:40)-- | 78 -- Promise.resolve -- |
| 94 -- Promise.resolve (test.js:113:22)-- | 79 thenableJobResolvedByPromise (test.js:118:40) |
| 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) | |
| 99 (anonymous) (testThenableJobResolvedByPromise.js:0:0) | 80 (anonymous) (testThenableJobResolvedByPromise.js:0:0) |
| 100 | 81 |
| 101 | 82 |
| 102 Running test: testThenableJobResolvedByPromiseWithStack | 83 Running test: testThenableJobResolvedByPromiseWithStack |
| 103 foo1 (test.js:9:2) | 84 foo1 (test.js:9:2) |
| 104 -- Promise.resolve (test.js:136:40)-- | 85 -- Promise.resolve -- |
| 105 inner (test.js:126:6) | 86 thenableJobResolvedByPromiseWithStack (test.js:136:40) |
| 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) | |
| 111 (anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0) | 87 (anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0) |
| 112 | 88 |
| 113 | 89 |
| 114 Running test: testLateThenCallback | 90 Running test: testLateThenCallback |
| 115 foo1 (test.js:9:2) | 91 foo1 (test.js:9:2) |
| 116 -- Promise.resolve (test.js:145:12)-- | 92 -- Promise.resolve -- |
| 117 lateThenCallback (test.js:144:2) | 93 lateThenCallback (test.js:145:12) |
| 118 (anonymous) (testLateThenCallback.js:0:0) | 94 (anonymous) (testLateThenCallback.js:0:0) |
| 119 | 95 |
| 120 | 96 |
| 121 Running test: testComplex | 97 Running test: testComplex |
| 122 inner1 (test.js:154:6) | 98 inner1 (test.js:154:6) |
| 123 foo1 (test.js:156:4) | 99 foo1 (test.js:156:4) |
| 124 -- Promise.resolve (test.js:202:5)-- | 100 -- Promise.resolve -- |
| 125 inner2 (test.js:162:6) | 101 complex (test.js:202:5) |
| 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) | |
| 143 (anonymous) (testComplex.js:0:0) | 102 (anonymous) (testComplex.js:0:0) |
| 144 | 103 |
| 145 p.then (test.js:207:8) | 104 p.then (test.js:207:8) |
| 146 -- Promise.resolve (test.js:206:8)-- | 105 -- Promise.resolve -- |
| 147 -- Promise.resolve (test.js:202:5)-- | 106 p.then (test.js:206:8) |
| 148 inner2 (test.js:162:6) | 107 -- Promise.resolve -- |
| 149 -- Promise.resolve (test.js:165:22)-- | 108 setTimeout (test.js:205:6) |
| 150 foo2 (test.js:165:12) | |
| 151 -- Promise.resolve (test.js:201:5)-- | |
| 152 inner3 (test.js:172:6) | |
| 153 -- setTimeout -- | 109 -- setTimeout -- |
| 154 foo3 (test.js:175:4) | 110 complex (test.js:204:2) |
| 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) | |
| 166 (anonymous) (testComplex.js:0:0) | 111 (anonymous) (testComplex.js:0:0) |
| 167 | 112 |
| 168 | 113 |
| 169 Running test: testReject | 114 Running test: testReject |
| 170 foo1 (test.js:9:2) | 115 foo1 (test.js:9:2) |
| 171 -- Promise.reject (test.js:217:31)-- | 116 -- Promise.reject -- |
| 172 reject (test.js:217:17) | 117 reject (test.js:217:31) |
| 173 (anonymous) (testReject.js:0:0) | 118 (anonymous) (testReject.js:0:0) |
| 174 | 119 |
| OLD | NEW |