You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2018/01/22 21:27:02 UTC

[jira] [Closed] (CB-7796) file.spec.12 failing

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

Jan Piotrowski (Sujan) closed CB-7796.
--------------------------------------
    Resolution: Cannot Reproduce

Can not find the test any more, sorry.

> file.spec.12 failing 
> ---------------------
>
>                 Key: CB-7796
>                 URL: https://issues.apache.org/jira/browse/CB-7796
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-mobile-spec, cordova-windows
>    Affects Versions: 3.6.0, 3.6.3
>         Environment: Windows RT
>            Reporter: Angela Fowler
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> This test is failing with NOT_FOUND_ERROR when ENCODING_ERROR was expected.
> It is failing here in FileProxy.js :
>             // method should not let read files outside of the [APP HASH]/Local or [APP HASH]/temp folders
>             if (path.indexOf(msappdataTempPath) != 0 && path.indexOf(msappdataLocalPath) != 0) {
>                 fail(FileError.NOT_FOUND_ERR);
>                 return;
>             }
> Here is the test :
>                        expect(error).toBeFileError(FileError.ENCODING_ERR);



--
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