How to detect errors XMLHttpRequestin a Chrome application.
For example, I want to know when it is generated net::ERR_NAME_NOT_RESOLVED, so I can display an error message to the user.
XMLHttpRequest.onerror starts up however I cannot distinguish this error or net::ERR_INSECURE_RESPONSE
source
share