Tests asynchronous call stacks for async functions.
Set timer for test function.
Captured call stacks in no particular order:
Call stack:
0) doTestChainedPromises (async-callstack-async-await2.js:73)
[await]
0) testFunctionTimeout (async-callstack-async-await2.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await2.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) doTestChainedPromises (async-callstack-async-await2.js:75)
[await]
0) testFunctionTimeout (async-callstack-async-await2.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await2.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) doTestChainedPromises (async-callstack-async-await2.js:77)
[await]
0) testFunctionTimeout (async-callstack-async-await2.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await2.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) doTestChainedPromises (async-callstack-async-await2.js:79)
[await]
0) testFunctionTimeout (async-callstack-async-await2.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await2.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) thenCallback (async-callstack-async-await2.js:61)
1) doTestChainedPromises (async-callstack-async-await2.js:80)
[await]
0) testFunctionTimeout (async-callstack-async-await2.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await2.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) thenCallback (async-callstack-async-await2.js:61)
1) doTestChainedPromisesJSON (async-callstack-async-await2.js:92)
[await]
0) testFunctionTimeout (async-callstack-async-await2.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await2.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>