Improve console log message for CORS failure
When a simple cross-origin request has been made and then blocked, a log message of "blocked from loading" may sound confusing since we've loaded the resource from the server but just prevented the response from being delivered to the page. When a redirect has been blocked, the error message should say that the redirect has been blocked and the reason (e.g. whether the redirect location is bad or the response didn't pass the CORS check) clearly. BUG=417786 R=sof Review-Url: https://codereview.chromium.org/1196423003 Cr-Commit-Position: refs/heads/master@{#408918}
Showing
