Mention withCredentials attribute in the error message about CORS check failure
The spec phrase "credentials flag" is not so useful for those who are
not familiar with the Fetch spec. Mention the withCredentials attribute
so that XHR users can understand what's wrong with their code easily.
I tried to show this only for XHR by using the RequestContext value,
but RequestContextXMLHttpRequest is used not only for XHR but for
EventSource. So, I refrained from taking the approach.
R=yhirano@chromium.org
BUG=
566239
Committed:
https://crrev.com/49a0d064be13af14d84df7de0fc632820b4701d9
Cr-Commit-Position: refs/heads/master@{#426494}