Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Side by Side Diff: LayoutTests/inspector/sources/debugger/async-callstack-xhrs-expected.txt

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added needsrebaseline for win_rel. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck http://xhr.spec.whatwg.org/.
1 Tests asynchronous call stacks for XHRs. 2 Tests asynchronous call stacks for XHRs.
2 3
3 Set timer for test function. 4 Set timer for test function.
4 Captured call stacks in no particular order: 5 Captured call stacks in no particular order:
5 Call stack: 6 Call stack:
6 0) downloadEnd1 (async-callstack-xhrs.html:36) 7 0) downloadEnd1 (async-callstack-xhrs.html:36)
7 1) sendXHR (async-callstack-xhrs.html:66) 8 1) sendXHR (async-callstack-xhrs.html:66)
8 2) sendSyncXHR (async-callstack-xhrs.html:21) 9 2) sendSyncXHR (async-callstack-xhrs.html:21)
9 3) timeout (async-callstack-xhrs.html:16) 10 3) timeout (async-callstack-xhrs.html:16)
10 [setTimeout] 11 [setTimeout]
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 Call stack: 75 Call stack:
75 0) xhr.onreadystatechange (async-callstack-xhrs.html:30) 76 0) xhr.onreadystatechange (async-callstack-xhrs.html:30)
76 [XMLHttpRequest.send] 77 [XMLHttpRequest.send]
77 0) sendXHR (async-callstack-xhrs.html:66) 78 0) sendXHR (async-callstack-xhrs.html:66)
78 1) sendAsyncXHR (async-callstack-xhrs.html:20) 79 1) sendAsyncXHR (async-callstack-xhrs.html:20)
79 2) timeout (async-callstack-xhrs.html:17) 80 2) timeout (async-callstack-xhrs.html:17)
80 [setTimeout] 81 [setTimeout]
81 0) testFunction (async-callstack-xhrs.html:11) 82 0) testFunction (async-callstack-xhrs.html:11)
82 83
83 84
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698