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