cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-11737) cordova-ios crash in case of Infinity value in result
Date Tue, 23 Aug 2016 18:49:20 GMT

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

Shazron Abdullah edited comment on CB-11737 at 8/23/16 6:48 PM:
----------------------------------------------------------------

First run in the root of cordova-ios:
{code}
npm install
{code}

Then, to run the Obj-C tests, run:
{code}
npm run objc-tests
{code}

Add your tests in the appropriate test files, like https://github.com/apache/cordova-ios/blob/master/tests/CordovaLibTests/CDVPluginResultJSONSerializationTests.m


was (Author: shazron):
First run in the root of cordova-ios:
{code}
npm install
{code}

Then, to run the Obj-C tests, then run:
{code}
npm run objc-tests
{code}

Add your tests in the appropriate test files, like https://github.com/apache/cordova-ios/blob/master/tests/CordovaLibTests/CDVPluginResultJSONSerializationTests.m

> cordova-ios crash in case of Infinity value in result
> -----------------------------------------------------
>
>                 Key: CB-11737
>                 URL: https://issues.apache.org/jira/browse/CB-11737
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Chris Brody
>            Assignee: Shazron Abdullah
>
> In case an iOS plugin attempts to return a JSON result with an Infinity value it will
crash with NSInvalidArgumentException. I discovered this when investigating this issue: https://github.com/litehelpers/Cordova-sqlite-storage/issues/405
> Similar to: CB-9435



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message