WebView URL redirect handling

When WebView URL is redirected, PageBeginLoading or WhilePageLoading callback seems to be called after the redirection attempt is made. For example, if WebView URL is redirected to say http://google.com, PageBeginLoading is called when the URL has already transitioned to m.google.com.

Is it possible to have a callback or intercept to see the details of the redirect before this redirection happens?


We have internal issues for better defined behaviors here. The intercept is a slightly tough nut because it requires a synchronous call to JS from the UI thread. We should have a clean idea of how this should be done quite soon.