Osahon Okungbowa created CB-6330:
------------------------------------
Summary: FileReader ALWAYS returns TypeMisMatch Error on Windows
Phone 8
Key: CB-6330
URL: https://issues.apache.org/jira/browse/CB-6330
Project: Apache Cordova
Issue Type: Bug
Components: Plugin File
Affects Versions: 2.9.0, 2.8.0
Environment: Windows Phone 8
Reporter: Osahon Okungbowa
FileReader.readAsText() ALWAYS returns a TypeMisMatchError.
None of the event listeners for the FileReader are ever fired (Even the onerror
event is NEVER fired).
However, if you place the FileReader.readAsText() method in a try/catch block,
it will ALWAYS return a TypeMisMatchError.
e.g.
try
{
fileReader.readAsText(file);
}
catch(error)
{
console.log(error.message);
}
--
This message was sent by Atlassian JIRA
(v6.2#6252)