Cordova InAppBrowser loaderror event not firing for Error 500
问题 I have an issue with InAppBrowser. I am trying to catch errors that might come from the website I'm loading and I'm simulating this by a faulty .htaccess, which produces an error 500. I have the following code: ref = cordova.InAppBrowser.open($openuri, '_blank', 'location=no,toolbar=no,zoom=no,enableviewportscale=no,disallowoverscroll=no'); ref.addEventListener("loadstop",function() { ..... }); ref.addEventListener("loaderror",function() { alert('Toot'); }); ref.addEventListener('loadstart',