You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Girish Ramakrishnan (JIRA)" <ji...@apache.org> on 2014/02/26 08:33:20 UTC

[jira] [Commented] (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=13912604#comment-13912604 ] 

Girish Ramakrishnan commented on CB-6111:
-----------------------------------------

The constructor public CordovaWebView(Context context) is also missing a couple of lines.

> 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.1.5#6160)