You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/04/09 19:32:16 UTC

[jira] [Comment Edited] (CB-6111) One constructor of CordovaWebView forgets to call initWebViewClient.

    [ https://issues.apache.org/jira/browse/CB-6111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964422#comment-13964422 ] 

Joe Bowser edited comment on CB-6111 at 4/9/14 5:30 PM:
--------------------------------------------------------

This is explicitly by design, since in the case of CordovaWebView, it may need to support other WebViewClients.


was (Author: bowserj):
This is explicitly by design.

> One constructor of CordovaWebView forgets to call initWebViewClient.
> --------------------------------------------------------------------
>
>                 Key: CB-6111
>                 URL: https://issues.apache.org/jira/browse/CB-6111
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Ningxin Hu
>
> https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaWebView.java#L180, the constructor of CordovaWebView misses the call "this.initWebViewClient(this.cordova);". Other constructors call this method. It causes the WebViewClient is not initialized in this code path.



--
This message was sent by Atlassian JIRA
(v6.2#6252)