1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
3 Bug 22475: REGRESSION: Async XMLHttpRequest never finishes on nonexistent files anymore
5 In both cases, readyState 4 should be reached, and error handler should be invoked.
7 Doing an XHR to a nonexistent file.
8 ReadyState handler: readyState = 1
9 ReadyState handler: readyState = 4
10 Error handler: readyState = 4
12 Doing an XHR to a directory.
13 ReadyState handler: readyState = 1
14 ReadyState handler: readyState = 4