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

James Jong commented on CB-2388:
--------------------------------

[~agrieve]
Andrew,
I have been doing some mobile-spec testing on various iOS versions and bumped 
into this issue.  The current jasmine File Read Blob test spec will provide a 
false-positive (passing) when a blob cannot be created in iOS 6.  I have a 
simple proposed pull request that would fail the spec on real blob create 
errors.  Unsupported versions would simply return as the original fix does.  
Would you mind taking a quick look sometime since you put in the original fix?

The pull request is at:
https://github.com/apache/cordova-mobile-spec/pull/5
                
> File Read Blob object test fails on iOS < 6.0
> ---------------------------------------------
>
>                 Key: CB-2388
>                 URL: https://issues.apache.org/jira/browse/CB-2388
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec
>    Affects Versions: 2.4.0
>         Environment: iOS
>            Reporter: Becky Gibson
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> iOS 6 is required in order to support blob objects.  The mobile-spec should 
> detect the environment and print a suitable message if the test fails due to 
> lack of support rather than just outputting the default failure message. 
> I'm not sure if there are issues with this test on other platforms or not?
> The test that is failing:
> File API read method should be able to read native blob objects
> With the error:
> TypeError: '[object BlobConstructor]' is not a constructor.
> around line 3009 in file.tests.js.  Note that there is a comment in the file 
> that indicates this will fail on Android <= 2.3 and iOS <= 5 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to