Tests asynchronous call stacks for async functions.
Set timer for test function.
Captured call stacks in no particular order:
Call stack:
0) errorCallback (async-callstack-async-await1.js:66)
1) doTestSettledPromisesRejected (async-callstack-async-await1.js:98)
[await]
0) testFunctionTimeout (async-callstack-async-await1.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await1.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) promiseCallback (async-callstack-async-await1.js:74)
1) doTestPromiseConstructor (async-callstack-async-await1.js:72)
2) testFunctionTimeout (async-callstack-async-await1.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await1.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) thenCallback (async-callstack-async-await1.js:61)
1) doTestPromiseConstructor (async-callstack-async-await1.js:76)
[await]
0) testFunctionTimeout (async-callstack-async-await1.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await1.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) thenCallback (async-callstack-async-await1.js:61)
1) doTestSettledPromisesResolved (async-callstack-async-await1.js:86)
[await]
0) testFunctionTimeout (async-callstack-async-await1.js:56)
[setTimeout]
0) testFunction (async-callstack-async-await1.js:49)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>