2017-01-10 12:54:12 +00:00
|
|
|
Checks that async chains for promises are correct.
|
|
|
|
|
|
|
|
Running test: testPromise
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:19:14)--
|
2017-01-10 12:54:12 +00:00
|
|
|
promise (test.js:20:2)
|
|
|
|
(anonymous) (testPromise.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseResolvedBySetTimeout
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:27:14)--
|
2017-01-10 12:54:12 +00:00
|
|
|
-- setTimeout --
|
|
|
|
promiseResolvedBySetTimeout (test.js:28:2)
|
|
|
|
(anonymous) (testPromiseResolvedBySetTimeout.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseAll
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:37:35)--
|
|
|
|
-- Promise.resolve (test.js:37:19)--
|
2017-01-10 12:54:12 +00:00
|
|
|
promiseAll (test.js:39:2)
|
|
|
|
(anonymous) (testPromiseAll.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseAllReverseOrder
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:48:35)--
|
|
|
|
-- Promise.resolve (test.js:48:19)--
|
2017-01-10 12:54:12 +00:00
|
|
|
promiseAllReverseOrder (test.js:50:2)
|
|
|
|
(anonymous) (testPromiseAllReverseOrder.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseRace
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:59:36)--
|
|
|
|
-- Promise.resolve (test.js:59:19)--
|
2017-01-10 12:54:12 +00:00
|
|
|
promiseRace (test.js:60:2)
|
|
|
|
(anonymous) (testPromiseRace.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testTwoChainedCallbacks
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:68:14)--
|
2017-01-10 12:54:12 +00:00
|
|
|
twoChainedCallbacks (test.js:69:2)
|
|
|
|
(anonymous) (testTwoChainedCallbacks.js:0:0)
|
|
|
|
|
|
|
|
foo2 (test.js:13:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:68:25)--
|
|
|
|
-- Promise.resolve (test.js:68:14)--
|
2017-01-10 12:54:12 +00:00
|
|
|
twoChainedCallbacks (test.js:69:2)
|
|
|
|
(anonymous) (testTwoChainedCallbacks.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseResolve
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:74:27)--
|
2017-01-10 12:54:12 +00:00
|
|
|
promiseResolve (test.js:74:17)
|
|
|
|
(anonymous) (testPromiseResolve.js:0:0)
|
|
|
|
|
|
|
|
foo2 (test.js:13:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:74:38)--
|
|
|
|
-- Promise.resolve (test.js:74:27)--
|
2017-01-10 12:54:12 +00:00
|
|
|
promiseResolve (test.js:74:17)
|
|
|
|
(anonymous) (testPromiseResolve.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testThenableJobResolvedInSetTimeout
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:86:40)--
|
2017-01-10 12:54:12 +00:00
|
|
|
-- setTimeout --
|
|
|
|
thenableJob (test.js:81:4)
|
|
|
|
p1.then (test.js:86:25)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:86:14)--
|
2017-01-10 12:54:12 +00:00
|
|
|
thenableJobResolvedInSetTimeout (test.js:87:2)
|
|
|
|
(anonymous) (testThenableJobResolvedInSetTimeout.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testThenableJobResolvedInSetTimeoutWithStack
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:104:40)--
|
2017-01-10 12:54:12 +00:00
|
|
|
inner (test.js:94:6)
|
|
|
|
-- setTimeout --
|
|
|
|
thenableJob (test.js:99:4)
|
|
|
|
p1.then (test.js:104:25)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:104:14)--
|
2017-01-10 12:54:12 +00:00
|
|
|
thenableJobResolvedInSetTimeoutWithStack (test.js:105:2)
|
|
|
|
(anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testThenableJobResolvedByPromise
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:118:40)--
|
|
|
|
-- Promise.resolve (test.js:113:22)--
|
2017-01-10 12:54:12 +00:00
|
|
|
thenableJob (test.js:113:12)
|
|
|
|
p1.then (test.js:118:25)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:118:14)--
|
2017-01-10 12:54:12 +00:00
|
|
|
thenableJobResolvedByPromise (test.js:119:2)
|
|
|
|
(anonymous) (testThenableJobResolvedByPromise.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testThenableJobResolvedByPromiseWithStack
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:136:40)--
|
2017-01-10 12:54:12 +00:00
|
|
|
inner (test.js:126:6)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:131:22)--
|
2017-01-10 12:54:12 +00:00
|
|
|
thenableJob (test.js:131:12)
|
|
|
|
p1.then (test.js:136:25)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:136:14)--
|
2017-01-10 12:54:12 +00:00
|
|
|
thenableJobResolvedByPromiseWithStack (test.js:137:2)
|
|
|
|
(anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testLateThenCallback
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:145:12)--
|
2017-01-10 12:54:12 +00:00
|
|
|
lateThenCallback (test.js:144:2)
|
|
|
|
(anonymous) (testLateThenCallback.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testComplex
|
|
|
|
inner1 (test.js:154:6)
|
|
|
|
foo1 (test.js:156:4)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:202:5)--
|
2017-01-10 12:54:12 +00:00
|
|
|
inner2 (test.js:162:6)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:165:22)--
|
2017-01-10 12:54:12 +00:00
|
|
|
foo2 (test.js:165:12)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:201:5)--
|
2017-01-10 12:54:12 +00:00
|
|
|
inner3 (test.js:172:6)
|
|
|
|
-- setTimeout --
|
|
|
|
foo3 (test.js:175:4)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:200:5)--
|
|
|
|
-- Promise.resolve (test.js:199:5)--
|
|
|
|
-- Promise.resolve (test.js:188:7)--
|
|
|
|
-- Promise.resolve (test.js:187:19)--
|
2017-01-10 12:54:12 +00:00
|
|
|
foo5 (test.js:187:52)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:198:5)--
|
|
|
|
-- Promise.resolve (test.js:193:7)--
|
|
|
|
-- Promise.resolve (test.js:192:19)--
|
2017-01-10 12:54:12 +00:00
|
|
|
foo6 (test.js:192:34)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:197:5)--
|
2017-01-10 12:54:12 +00:00
|
|
|
complex (test.js:196:18)
|
|
|
|
(anonymous) (testComplex.js:0:0)
|
|
|
|
|
|
|
|
p.then (test.js:207:8)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:206:8)--
|
|
|
|
-- Promise.resolve (test.js:202:5)--
|
2017-01-10 12:54:12 +00:00
|
|
|
inner2 (test.js:162:6)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:165:22)--
|
2017-01-10 12:54:12 +00:00
|
|
|
foo2 (test.js:165:12)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:201:5)--
|
2017-01-10 12:54:12 +00:00
|
|
|
inner3 (test.js:172:6)
|
|
|
|
-- setTimeout --
|
|
|
|
foo3 (test.js:175:4)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:200:5)--
|
|
|
|
-- Promise.resolve (test.js:199:5)--
|
|
|
|
-- Promise.resolve (test.js:188:7)--
|
|
|
|
-- Promise.resolve (test.js:187:19)--
|
2017-01-10 12:54:12 +00:00
|
|
|
foo5 (test.js:187:52)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:198:5)--
|
|
|
|
-- Promise.resolve (test.js:193:7)--
|
|
|
|
-- Promise.resolve (test.js:192:19)--
|
2017-01-10 12:54:12 +00:00
|
|
|
foo6 (test.js:192:34)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.resolve (test.js:197:5)--
|
2017-01-10 12:54:12 +00:00
|
|
|
complex (test.js:196:18)
|
|
|
|
(anonymous) (testComplex.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testReject
|
|
|
|
foo1 (test.js:9:2)
|
2017-01-26 09:32:37 +00:00
|
|
|
-- Promise.reject (test.js:217:31)--
|
2017-01-10 12:54:12 +00:00
|
|
|
reject (test.js:217:17)
|
|
|
|
(anonymous) (testReject.js:0:0)
|
|
|
|
|