Tests that asynchronous XMLHttpRequests handle redirects according to the CORS standard.