You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2016/08/23 18:49:20 UTC
[jira] [Comment Edited] (CB-11737) cordova-ios crash in case of
Infinity value in result
[ 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