You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/07/02 13:35:00 UTC

[jira] [Closed] (CB-8023) weinre console.log fails when given null value

     [ https://issues.apache.org/jira/browse/CB-8023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-8023.
----------------------------
    Resolution: Won't Fix

Closing as cordova-weinre is being deprecated and no more work will be done

> weinre console.log fails when given null value
> ----------------------------------------------
>
>                 Key: CB-8023
>                 URL: https://issues.apache.org/jira/browse/CB-8023
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-weinre (DEPRECATED)
>            Reporter: Kevin Turner
>            Assignee: Patrick Mueller
>            Priority: Major
>              Labels: easyfix, easytest
>
> weinre's Console._generic, through which all console.log messages go, contains this line:
> https://github.com/apache/cordova-weinre/blob/f8bcc48f84d9d08f04993328124a62b6bc5026c4/weinre.web/modules/weinre/target/Console.coffee#L78
> message = messageParts[0].toString()
> When messageParts[0] is null, that fails with "null is not an object" (on cordova on iOS, other browsers may have different messages but also may not have a toString on null).
> It's a small mistake but terrifically annoying to track down such a crash introduced by this debugging tool.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org