| OLD | NEW |
| 1 CONSOLE WARNING: line 65: Synchronous XMLHttpRequest on the main thread is depre
cated because of its detrimental effects to the end user's experience. For more
help, check https://xhr.spec.whatwg.org/. | 1 CONSOLE WARNING: line 65: Synchronous XMLHttpRequest on the main thread is depre
cated because of its detrimental effects to the end user's experience. For more
help, check https://xhr.spec.whatwg.org/. |
| 2 Tests asynchronous call stacks for XHRs. | 2 Tests asynchronous call stacks for XHRs. |
| 3 | 3 |
| 4 Set timer for test function. | 4 Set timer for test function. |
| 5 Captured call stacks in no particular order: | 5 Captured call stacks in no particular order: |
| 6 Call stack: | 6 Call stack: |
| 7 0) downloadEnd1 (async-callstack-xhrs.html:36) | 7 0) downloadEnd1 (async-callstack-xhrs.html:36) |
| 8 1) sendXHR (async-callstack-xhrs.html:66) | 8 1) sendXHR (async-callstack-xhrs.html:66) |
| 9 2) sendSyncXHR (async-callstack-xhrs.html:21) | 9 2) sendSyncXHR (async-callstack-xhrs.html:21) |
| 10 3) timeout (async-callstack-xhrs.html:16) | 10 3) timeout (async-callstack-xhrs.html:16) |
| 11 [loadend] |
| 12 0) sendXHR (async-callstack-xhrs.html:58) |
| 13 1) sendSyncXHR (async-callstack-xhrs.html:21) |
| 14 2) timeout (async-callstack-xhrs.html:16) |
| 11 [setTimeout] | 15 [setTimeout] |
| 12 0) testFunction (async-callstack-xhrs.html:11) | 16 0) testFunction (async-callstack-xhrs.html:11) |
| 13 [setTimeout] | 17 [setTimeout] |
| 14 0) scheduleTestFunction (debugger-test.js:3) | 18 0) scheduleTestFunction (debugger-test.js:3) |
| 15 <... skipped remaining frames ...> | 19 <... skipped remaining frames ...> |
| 16 | 20 |
| 17 Call stack: | 21 Call stack: |
| 18 0) downloadEnd1 (async-callstack-xhrs.html:36) | 22 0) downloadEnd1 (async-callstack-xhrs.html:36) |
| 19 [XMLHttpRequest.send] | 23 [loadend] |
| 20 0) sendXHR (async-callstack-xhrs.html:66) | 24 0) sendXHR (async-callstack-xhrs.html:58) |
| 21 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 25 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 22 2) timeout (async-callstack-xhrs.html:17) | 26 2) timeout (async-callstack-xhrs.html:17) |
| 23 [setTimeout] | 27 [setTimeout] |
| 24 0) testFunction (async-callstack-xhrs.html:11) | 28 0) testFunction (async-callstack-xhrs.html:11) |
| 25 [setTimeout] | 29 [setTimeout] |
| 26 0) scheduleTestFunction (debugger-test.js:3) | 30 0) scheduleTestFunction (debugger-test.js:3) |
| 27 <... skipped remaining frames ...> | 31 <... skipped remaining frames ...> |
| 28 | 32 |
| 29 Call stack: | 33 Call stack: |
| 30 0) downloadEnd2 (async-callstack-xhrs.html:41) | 34 0) downloadEnd2 (async-callstack-xhrs.html:41) |
| 31 1) sendXHR (async-callstack-xhrs.html:66) | 35 1) sendXHR (async-callstack-xhrs.html:66) |
| 32 2) sendSyncXHR (async-callstack-xhrs.html:21) | 36 2) sendSyncXHR (async-callstack-xhrs.html:21) |
| 33 3) timeout (async-callstack-xhrs.html:16) | 37 3) timeout (async-callstack-xhrs.html:16) |
| 38 [loadend] |
| 39 0) sendXHR (async-callstack-xhrs.html:59) |
| 40 1) sendSyncXHR (async-callstack-xhrs.html:21) |
| 41 2) timeout (async-callstack-xhrs.html:16) |
| 34 [setTimeout] | 42 [setTimeout] |
| 35 0) testFunction (async-callstack-xhrs.html:11) | 43 0) testFunction (async-callstack-xhrs.html:11) |
| 36 [setTimeout] | 44 [setTimeout] |
| 37 0) scheduleTestFunction (debugger-test.js:3) | 45 0) scheduleTestFunction (debugger-test.js:3) |
| 38 <... skipped remaining frames ...> | 46 <... skipped remaining frames ...> |
| 39 | 47 |
| 40 Call stack: | 48 Call stack: |
| 41 0) downloadEnd2 (async-callstack-xhrs.html:41) | 49 0) downloadEnd2 (async-callstack-xhrs.html:41) |
| 42 [XMLHttpRequest.send] | 50 [loadend] |
| 43 0) sendXHR (async-callstack-xhrs.html:66) | 51 0) sendXHR (async-callstack-xhrs.html:59) |
| 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] |
| 47 0) testFunction (async-callstack-xhrs.html:11) | 55 0) testFunction (async-callstack-xhrs.html:11) |
| 48 [setTimeout] | 56 [setTimeout] |
| 49 0) scheduleTestFunction (debugger-test.js:3) | 57 0) scheduleTestFunction (debugger-test.js:3) |
| 50 <... skipped remaining frames ...> | 58 <... skipped remaining frames ...> |
| 51 | 59 |
| 52 Call stack: | 60 Call stack: |
| 53 0) downloadProgress (async-callstack-xhrs.html:50) | 61 0) downloadProgress (async-callstack-xhrs.html:50) |
| 54 [XMLHttpRequest.send] | 62 [progress] |
| 55 0) sendXHR (async-callstack-xhrs.html:66) | 63 0) sendXHR (async-callstack-xhrs.html:62) |
| 56 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 64 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 57 2) timeout (async-callstack-xhrs.html:17) | 65 2) timeout (async-callstack-xhrs.html:17) |
| 58 [setTimeout] | 66 [setTimeout] |
| 59 0) testFunction (async-callstack-xhrs.html:11) | 67 0) testFunction (async-callstack-xhrs.html:11) |
| 60 [setTimeout] | 68 [setTimeout] |
| 61 0) scheduleTestFunction (debugger-test.js:3) | 69 0) scheduleTestFunction (debugger-test.js:3) |
| 62 <... skipped remaining frames ...> | 70 <... skipped remaining frames ...> |
| 63 | 71 |
| 64 Call stack: | 72 Call stack: |
| 65 0) uploadEnd (async-callstack-xhrs.html:46) | 73 0) uploadEnd (async-callstack-xhrs.html:46) |
| 66 [XMLHttpRequest.send] | 74 [loadend] |
| 67 0) sendXHR (async-callstack-xhrs.html:66) | 75 0) sendXHR (async-callstack-xhrs.html:61) |
| 68 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 76 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 69 2) timeout (async-callstack-xhrs.html:17) | 77 2) timeout (async-callstack-xhrs.html:17) |
| 70 [setTimeout] | 78 [setTimeout] |
| 71 0) testFunction (async-callstack-xhrs.html:11) | 79 0) testFunction (async-callstack-xhrs.html:11) |
| 72 [setTimeout] | 80 [setTimeout] |
| 73 0) scheduleTestFunction (debugger-test.js:3) | 81 0) scheduleTestFunction (debugger-test.js:3) |
| 74 <... skipped remaining frames ...> | 82 <... skipped remaining frames ...> |
| 75 | 83 |
| 76 Call stack: | 84 Call stack: |
| 77 0) uploadProgress (async-callstack-xhrs.html:55) | 85 0) uploadProgress (async-callstack-xhrs.html:55) |
| 78 [XMLHttpRequest.send] | 86 [progress] |
| 79 0) sendXHR (async-callstack-xhrs.html:66) | 87 0) sendXHR (async-callstack-xhrs.html:63) |
| 80 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 88 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 81 2) timeout (async-callstack-xhrs.html:17) | 89 2) timeout (async-callstack-xhrs.html:17) |
| 82 [setTimeout] | 90 [setTimeout] |
| 83 0) testFunction (async-callstack-xhrs.html:11) | 91 0) testFunction (async-callstack-xhrs.html:11) |
| 84 [setTimeout] | 92 [setTimeout] |
| 85 0) scheduleTestFunction (debugger-test.js:3) | 93 0) scheduleTestFunction (debugger-test.js:3) |
| 86 <... skipped remaining frames ...> | 94 <... skipped remaining frames ...> |
| 87 | 95 |
| 88 Call stack: | 96 Call stack: |
| 89 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) | 97 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) |
| 90 1) sendXHR (async-callstack-xhrs.html:66) | 98 1) sendXHR (async-callstack-xhrs.html:66) |
| 91 2) sendSyncXHR (async-callstack-xhrs.html:21) | 99 2) sendSyncXHR (async-callstack-xhrs.html:21) |
| 92 3) timeout (async-callstack-xhrs.html:16) | 100 3) timeout (async-callstack-xhrs.html:16) |
| 101 [readystatechange] |
| 102 0) sendXHR (async-callstack-xhrs.html:26) |
| 103 1) sendSyncXHR (async-callstack-xhrs.html:21) |
| 104 2) timeout (async-callstack-xhrs.html:16) |
| 93 [setTimeout] | 105 [setTimeout] |
| 94 0) testFunction (async-callstack-xhrs.html:11) | 106 0) testFunction (async-callstack-xhrs.html:11) |
| 95 [setTimeout] | 107 [setTimeout] |
| 96 0) scheduleTestFunction (debugger-test.js:3) | 108 0) scheduleTestFunction (debugger-test.js:3) |
| 97 <... skipped remaining frames ...> | 109 <... skipped remaining frames ...> |
| 98 | 110 |
| 99 Call stack: | 111 Call stack: |
| 100 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) | 112 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) |
| 101 [XMLHttpRequest.send] | 113 [readystatechange] |
| 102 0) sendXHR (async-callstack-xhrs.html:66) | 114 0) sendXHR (async-callstack-xhrs.html:26) |
| 103 1) sendAsyncXHR (async-callstack-xhrs.html:20) | 115 1) sendAsyncXHR (async-callstack-xhrs.html:20) |
| 104 2) timeout (async-callstack-xhrs.html:17) | 116 2) timeout (async-callstack-xhrs.html:17) |
| 105 [setTimeout] | 117 [setTimeout] |
| 106 0) testFunction (async-callstack-xhrs.html:11) | 118 0) testFunction (async-callstack-xhrs.html:11) |
| 107 [setTimeout] | 119 [setTimeout] |
| 108 0) scheduleTestFunction (debugger-test.js:3) | 120 0) scheduleTestFunction (debugger-test.js:3) |
| 109 <... skipped remaining frames ...> | 121 <... skipped remaining frames ...> |
| 110 | 122 |
| 111 | 123 |
| OLD | NEW |