blob: 5267794b41dd1632f649c7ac2a692090ee93e83d [file] [log] [blame]
Tests the async call stacks and framework black-boxing features working together.
Set timer for test function.
Call stack:
0) callback2 (frameworks-with-async-callstack.js:36)
* 1) Framework_inner1 (framework.js:59)
[setTimeout]
* 0) Framework.schedule (framework.js:45)
* 1) Framework_willSchedule (framework.js:51)
2) window.callbackFromFramework (frameworks-with-async-callstack.js:16)
* 3) Framework_inner2 (framework.js:63)
[setTimeout]
* 0) Framework.schedule (framework.js:45)
* 1) Framework_willSchedule (framework.js:51)
[setTimeout]
* 0) Framework.schedule (framework.js:45)
* 1) Framework.doSomeAsyncChainCalls (framework.js:67)
2) callback1 (frameworks-with-async-callstack.js:31)
* 3) Framework.safeRun (framework.js:8)
* 4) Framework.safeRun (framework.js:10)
5) timeout1 (frameworks-with-async-callstack.js:26)
[setTimeout]
0) testFunction (frameworks-with-async-callstack.js:21)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Printing visible call stack:
Call stack:
0) callback2 (frameworks-with-async-callstack.js:36)
[setTimeout]
0) window.callbackFromFramework (frameworks-with-async-callstack.js:16)
[setTimeout]
0) callback1 (frameworks-with-async-callstack.js:31)
1) timeout1 (frameworks-with-async-callstack.js:26)
[setTimeout]
0) testFunction (frameworks-with-async-callstack.js:21)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>