Index: Source/core/fetch/CrossOriginAccessControl.cpp |
diff --git a/Source/core/fetch/CrossOriginAccessControl.cpp b/Source/core/fetch/CrossOriginAccessControl.cpp |
index 5efd898b70132d80c4e7f613293176f682a75d2a..402ddfe22e7ea236e164dc6972243419e65dc82e 100644 |
--- a/Source/core/fetch/CrossOriginAccessControl.cpp |
+++ b/Source/core/fetch/CrossOriginAccessControl.cpp |
@@ -182,7 +182,7 @@ bool passesPreflightStatusCheck(const ResourceResponse& response, String& errorD |
// http://www.w3.org/TR/cors/#cross-origin-request-with-preflight-0 |
// https://crbug.com/452394 |
if (response.httpStatusCode() < 200 || response.httpStatusCode() >= 300) { |
- errorDescription = "Invalid HTTP status code " + String::number(response.httpStatusCode()); |
+ errorDescription = "Response for preflight has invalid HTTP status code " + String::number(response.httpStatusCode()); |
return false; |
} |