Javascript isn't execute within onJAlert callback after new Android System Webview updated
<p>|After the latest updated of the Android System Webview (52.0.2743.98) I noticed that javascript can't be executed withing the  onJsAlert method.</p>

<p>More specifically the following piece of code stopped working after the latest update </p>

<pre><code>private class MyWebChromeClient extends WebChromeClient {

    @Override
    public boolean onJsAlert(WebView view, String url, String message, JsResult result) {

            view.loadUrl(javascript:(function(){CustomInterface.completeAction(document.head.innerHTML)})());

        return super.onJsAlert(view, url, message, result);
    }

}
</code></pre>

<p>I have also checked that the interface has been set correctly</p>

<pre><code>  mWebView.setWebChromeClient(new MyWebChromeClient());

    WebSettings webSettings = mWebView.getSettings();      
    webSettings.setJavaScriptEnabled(true);
    mWebView.addJavascriptInterface(new CustomInterface(), "CustomInterface"); 
</code></pre>

<p>Has anyone came across the same issue?</p>