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

ASF GitHub Bot commented on CB-7010:
------------------------------------

Github user martincgg commented on the pull request:

    https://github.com/apache/cordova-mobile-spec/pull/76#issuecomment-46960316
  
    Hi @purplecabbage ,
    I've been working on the File API and the mobile spec test as well, this 
specific PR, the native side is not returning the path with the URL-encoding as 
%20, I thought that it was totally acceptable if spaces were returned instead.
    Let me report some of my findings:
    
    ![file api 
mobilespec](https://cloud.githubusercontent.com/assets/6596402/3370432/4d0b80a6-fb90-11e3-8bcb-6cd3bda912c9.png)
    
    In the image at left is mostly after this fix: 
https://issues.apache.org/jira/browse/CB-6980
    in the right that was before of it. Several were failing because 
resolveLocalFileSystemURI it was losing information about the filesystem 
property.
    The first square marked on the image it belongs to 4 tests (spec 67, 68, 69 
and 78) which are failing when a file is moved and the filesystem information 
is lost at some point, the issue related is CB-6901.
    The second square is related with support of readAsBinaryString & 
readAsArrayBuffer, issues CB-6988 & CB-6989, I've been working to setup those 
methods on the native side.
    The third square is related with the issue CB-6923 (I'm working on that one 
too), the native side is not able to handle the resolve navigation a parent 
directory using a relative path, e.g.:
    fileName = ../resolve.file.uri
    I'll continue working on those issues
    About the mobile spec conditions some of them are about join paths for 
Windows Phone and some others are to compare the path retrieved from the native 
side something like: //native instead of file://.
    Tests on Windows Phone 8 & 8.1 emulator as well as physical device, both 
are consistent behavior related with the mentioned issues.



> file.spec.52 fails on WP8
> -------------------------
>
>                 Key: CB-7010
>                 URL: https://issues.apache.org/jira/browse/CB-7010
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: mobile-spec
>    Affects Versions: 3.5.0
>            Reporter: Martin Gonzalez
>            Assignee: Martin Gonzalez
>            Priority: Minor
>              Labels: mobilespec
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to