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/11/26 14:55:00 UTC
[jira] [Resolved] (CB-7095) [Mobilespec] atob function on file.spec
85 & 92, is ignored during test
[ https://issues.apache.org/jira/browse/CB-7095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Piotrowski (Sujan) resolved CB-7095.
----------------------------------------
Resolution: Auto Closed
> [Mobilespec] atob function on file.spec 85 & 92, is ignored during test
> -----------------------------------------------------------------------
>
> Key: CB-7095
> URL: https://issues.apache.org/jira/browse/CB-7095
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-mobile-spec
> Affects Versions: 3.5.0
> Reporter: Martin Gonzalez
> Priority: Major
> Labels: file, mobilespec
> Fix For: 3.6.0
>
>
> The atob function that decodes a string for the file spec 85 and 92 it's been completely ignored during the test execution.
> The returned object from the runReaderTest function it should returns an encoded string content from the a file, how ever in the expectation statement it tries to decode it and compare it with an encoded one, which it doesn't make sense.
> Even so, that specific operation which compares the encoded string with the javascript atob function to encode a string it is completely ignored during the execution, it just continues with the next line and so.
> The problem is that the fileData string that it is trying to decode it contains Unicode characters and it cannot handle those characters.
> I've tried with the other function btoa, but it also throws a error, it is problem about the Unicode caracters.
--
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