You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Suraj Pindoria (JIRA)" <ji...@apache.org> on 2017/12/14 19:41:00 UTC
[jira] [Closed] (CB-6330) FileReader ALWAYS returns TypeMisMatch
Error on Windows Phone 8
[ https://issues.apache.org/jira/browse/CB-6330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suraj Pindoria closed CB-6330.
------------------------------
Resolution: Fixed
> 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: cordova-plugin-file
> Affects Versions: 2.8.0, 2.9.0
> Environment: Windows Phone 8
> Reporter: Osahon Okungbowa
> Labels: WP8
>
> 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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org