blob: e6142aad11ade92fccb8731385a72b496f30349e [file] [log] [blame]
Tests asynchronous call stacks for XHRs.
Set timer for test function.
Captured call stacks in no particular order:
Call stack:
0) downloadEnd1 (async-callstack-xhrs.js:39)
1) sendXHR (async-callstack-xhrs.js:69)
2) sendSyncXHR (async-callstack-xhrs.js:24)
3) timeout (async-callstack-xhrs.js:19)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) downloadEnd1 (async-callstack-xhrs.js:39)
[XMLHttpRequest.send]
0) sendXHR (async-callstack-xhrs.js:69)
1) sendAsyncXHR (async-callstack-xhrs.js:23)
2) timeout (async-callstack-xhrs.js:20)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) downloadEnd2 (async-callstack-xhrs.js:44)
1) sendXHR (async-callstack-xhrs.js:69)
2) sendSyncXHR (async-callstack-xhrs.js:24)
3) timeout (async-callstack-xhrs.js:19)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) downloadEnd2 (async-callstack-xhrs.js:44)
[XMLHttpRequest.send]
0) sendXHR (async-callstack-xhrs.js:69)
1) sendAsyncXHR (async-callstack-xhrs.js:23)
2) timeout (async-callstack-xhrs.js:20)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) downloadProgress (async-callstack-xhrs.js:53)
[XMLHttpRequest.send]
0) sendXHR (async-callstack-xhrs.js:69)
1) sendAsyncXHR (async-callstack-xhrs.js:23)
2) timeout (async-callstack-xhrs.js:20)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) uploadEnd (async-callstack-xhrs.js:49)
[XMLHttpRequest.send]
0) sendXHR (async-callstack-xhrs.js:69)
1) sendAsyncXHR (async-callstack-xhrs.js:23)
2) timeout (async-callstack-xhrs.js:20)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) uploadProgress (async-callstack-xhrs.js:58)
[XMLHttpRequest.send]
0) sendXHR (async-callstack-xhrs.js:69)
1) sendAsyncXHR (async-callstack-xhrs.js:23)
2) timeout (async-callstack-xhrs.js:20)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) xhr.onreadystatechange (async-callstack-xhrs.js:33)
1) sendXHR (async-callstack-xhrs.js:69)
2) sendSyncXHR (async-callstack-xhrs.js:24)
3) timeout (async-callstack-xhrs.js:19)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) xhr.onreadystatechange (async-callstack-xhrs.js:33)
[XMLHttpRequest.send]
0) sendXHR (async-callstack-xhrs.js:69)
1) sendAsyncXHR (async-callstack-xhrs.js:23)
2) timeout (async-callstack-xhrs.js:20)
[setTimeout]
0) testFunction (async-callstack-xhrs.js:14)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>