You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Flavio Spezi (JIRA)" <ji...@apache.org> on 2013/05/16 10:23:16 UTC
[jira] [Updated] (CB-3409) FileReader.readAsText error:
e.target.error.code = "JSON error"
[ https://issues.apache.org/jira/browse/CB-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flavio Spezi updated CB-3409:
-----------------------------
Description:
This is an example code:
{code:js}
function readMyFile() {
var filename = "testFile.txt";
var objFile = new FileReader();
objFile.onloadend = function(e) {
console.log("Result: " + JSON.stringify(e));
}
objFile.readAsText(filename);
}
{code}
was:
This is an example code:
function readMyFile() {
var filename = "testFile.txt";
var objFile = new FileReader();
objFile.onloadend = function(e) {
console.log("Result: " + JSON.stringify(e));
}
objFile.readAsText(filename);
}
> FileReader.readAsText error: e.target.error.code = "JSON error"
> ---------------------------------------------------------------
>
> Key: CB-3409
> URL: https://issues.apache.org/jira/browse/CB-3409
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.7.0
> Reporter: Flavio Spezi
> Assignee: Joe Bowser
> Labels: patch
>
> This is an example code:
> {code:js}
> function readMyFile() {
> var filename = "testFile.txt";
> var objFile = new FileReader();
> objFile.onloadend = function(e) {
> console.log("Result: " + JSON.stringify(e));
> }
> objFile.readAsText(filename);
> }
> {code}
--
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