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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-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 2
2 Bug 22475: REGRESSION: Async XMLHttpRequest never finishes on nonexistent files anymore 3 Bug 22475: REGRESSION: Async XMLHttpRequest never finishes on nonexistent files anymore
3 4
4 In both cases, readyState 4 should be reached, and error handler should be invok ed. 5 In both cases, readyState 4 should be reached, and error handler should be invok ed.
5 6
6 Doing an XHR to a nonexistent file. 7 Doing an XHR to a nonexistent file.
7 ReadyState handler: readyState = 1 8 ReadyState handler: readyState = 1
8 ReadyState handler: readyState = 4 9 ReadyState handler: readyState = 4
9 Error handler: readyState = 4 10 Error handler: readyState = 4
10 11
11 Doing an XHR to a directory. 12 Doing an XHR to a directory.
12 ReadyState handler: readyState = 1 13 ReadyState handler: readyState = 1
13 ReadyState handler: readyState = 4 14 ReadyState handler: readyState = 4
14 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698