Android WebViewClient, onErrorReceived not being called when there is a 404
<p>I've got a WebView, with a WebViewClient that defines onErrorReceived, and onPageFinished.  </p>

<p>The onPageFinished gets called correctly, so I know that the WebViewclient is attached to the WebView correctly.  However, there's some javascript in the WebView that calls:</p>

<p><code>location.href="http://kernel.org/asdf/asdf/asdf/asdf";</code></p>

<p>And the onErrorReceived listener is not called, even though it's a 404.  Does it not work with javascript calls?</p>

<p>Edit: After some testing, I have found that NO 404s are reported to this function whatsoever.  I have a test project set up here:  <a href="http://vimtips.org/media/WebViewTest.zip" rel="nofollow">http://vimtips.org/media/WebViewTest.zip</a></p>

<p>It appears that this method cannot be used to test for 404s.  Anyone know of a way to do this?</p>
