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