closed #3291: XMLHttpRequest.status needs to be assigned even when connection fails.