Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 Tests asynchronous call stacks for XHRs. | 1 Tests asynchronous call stacks for XHRs. |
| 2 | 2 |
| 3 Set timer for test function. | 3 Set timer for test function. |
| 4 Captured call stacks in no particular order: | 4 Captured call stacks in no particular order: |
| 5 Call stack: | 5 Call stack: |
| 6 0) downloadEnd (async-callstack-xhrs.html:36) | 6 0) downloadEnd1 (async-callstack-xhrs.html:36) |
| 7 1) sendXHR (async-callstack-xhrs.html:60) | 7 1) sendXHR (async-callstack-xhrs.html:66) |
| 8 2) sendSyncXHR (async-callstack-xhrs.html:21) | 8 2) sendSyncXHR (async-callstack-xhrs.html:21) |
| 9 3) timeout (async-callstack-xhrs.html:16) | 9 3) timeout (async-callstack-xhrs.html:16) |
| 10 [setTimeout] | 10 [setTimeout] |
| 11 0) testFunction (async-callstack-xhrs.html:11) | 11 0) testFunction (async-callstack-xhrs.html:11) |
| 12 | 12 |
| 13 Call stack: | 13 Call stack: |
| 14 0) downloadEnd (async-callstack-xhrs.html:36) | 14 0) downloadEnd1 (async-callstack-xhrs.html:36) |
| 15 [XMLHttpRequest.send] | 15 [XMLHttpRequest.send] |
| 16 0) sendXHR (async-callstack-xhrs.html:60) | 16 0) sendXHR (async-callstack-xhrs.html:66) |
| 17 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 17 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 18 2) timeout (async-callstack-xhrs.html:17) | 18 2) timeout (async-callstack-xhrs.html:17) |
| 19 [setTimeout] | 19 [setTimeout] |
| 20 0) testFunction (async-callstack-xhrs.html:11) | 20 0) testFunction (async-callstack-xhrs.html:11) |
| 21 | 21 |
| 22 Call stack: | 22 Call stack: |
| 23 0) downloadProgress (async-callstack-xhrs.html:45) | 23 0) downloadEnd2 (async-callstack-xhrs.html:41) |
| 24 1) sendXHR (async-callstack-xhrs.html:66) | |
| 25 2) sendSyncXHR (async-callstack-xhrs.html:21) | |
| 26 3) timeout (async-callstack-xhrs.html:16) | |
| 27 [setTimeout] | |
| 28 0) testFunction (async-callstack-xhrs.html:11) | |
| 29 | |
| 30 Call stack: | |
| 31 0) downloadEnd2 (async-callstack-xhrs.html:41) | |
| 24 [XMLHttpRequest.send] | 32 [XMLHttpRequest.send] |
|
aandrey
2014/07/12 16:21:28
Note: here we would have no async stack w/o this p
| |
| 25 0) sendXHR (async-callstack-xhrs.html:60) | 33 0) sendXHR (async-callstack-xhrs.html:66) |
| 26 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 34 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 27 2) timeout (async-callstack-xhrs.html:17) | 35 2) timeout (async-callstack-xhrs.html:17) |
| 28 [setTimeout] | 36 [setTimeout] |
| 29 0) testFunction (async-callstack-xhrs.html:11) | 37 0) testFunction (async-callstack-xhrs.html:11) |
| 30 | 38 |
| 31 Call stack: | 39 Call stack: |
| 32 0) uploadEnd (async-callstack-xhrs.html:41) | 40 0) downloadProgress (async-callstack-xhrs.html:50) |
| 33 [XMLHttpRequest.send] | 41 [XMLHttpRequest.send] |
| 34 0) sendXHR (async-callstack-xhrs.html:60) | 42 0) sendXHR (async-callstack-xhrs.html:66) |
| 35 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 43 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 36 2) timeout (async-callstack-xhrs.html:17) | 44 2) timeout (async-callstack-xhrs.html:17) |
| 37 [setTimeout] | 45 [setTimeout] |
| 38 0) testFunction (async-callstack-xhrs.html:11) | 46 0) testFunction (async-callstack-xhrs.html:11) |
| 39 | 47 |
| 40 Call stack: | 48 Call stack: |
| 41 0) uploadProgress (async-callstack-xhrs.html:50) | 49 0) uploadEnd (async-callstack-xhrs.html:46) |
| 42 [XMLHttpRequest.send] | 50 [XMLHttpRequest.send] |
| 43 0) sendXHR (async-callstack-xhrs.html:60) | 51 0) sendXHR (async-callstack-xhrs.html:66) |
| 44 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 52 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 45 2) timeout (async-callstack-xhrs.html:17) | 53 2) timeout (async-callstack-xhrs.html:17) |
| 46 [setTimeout] | 54 [setTimeout] |
| 55 0) testFunction (async-callstack-xhrs.html:11) | |
| 56 | |
| 57 Call stack: | |
| 58 0) uploadProgress (async-callstack-xhrs.html:55) | |
| 59 [XMLHttpRequest.send] | |
| 60 0) sendXHR (async-callstack-xhrs.html:66) | |
| 61 1) sendAsyncXHR (async-callstack-xhrs.html:20) | |
| 62 2) timeout (async-callstack-xhrs.html:17) | |
| 63 [setTimeout] | |
| 47 0) testFunction (async-callstack-xhrs.html:11) | 64 0) testFunction (async-callstack-xhrs.html:11) |
| 48 | 65 |
| 49 Call stack: | 66 Call stack: |
| 50 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) | 67 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) |
| 51 1) sendXHR (async-callstack-xhrs.html:60) | 68 1) sendXHR (async-callstack-xhrs.html:66) |
| 52 2) sendSyncXHR (async-callstack-xhrs.html:21) | 69 2) sendSyncXHR (async-callstack-xhrs.html:21) |
| 53 3) timeout (async-callstack-xhrs.html:16) | 70 3) timeout (async-callstack-xhrs.html:16) |
| 54 [setTimeout] | 71 [setTimeout] |
| 55 0) testFunction (async-callstack-xhrs.html:11) | 72 0) testFunction (async-callstack-xhrs.html:11) |
| 56 | 73 |
| 57 Call stack: | 74 Call stack: |
| 58 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) | 75 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) |
| 59 [XMLHttpRequest.send] | 76 [XMLHttpRequest.send] |
| 60 0) sendXHR (async-callstack-xhrs.html:60) | 77 0) sendXHR (async-callstack-xhrs.html:66) |
| 61 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 78 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 62 2) timeout (async-callstack-xhrs.html:17) | 79 2) timeout (async-callstack-xhrs.html:17) |
| 63 [setTimeout] | 80 [setTimeout] |
| 64 0) testFunction (async-callstack-xhrs.html:11) | 81 0) testFunction (async-callstack-xhrs.html:11) |
| 65 | 82 |
| 66 | 83 |
| OLD | NEW |