You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Luis Alberto Durazo Arvizu (Jira)" <ji...@apache.org> on 2019/11/27 19:42:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16983865#comment-16983865 ] 

Luis Alberto Durazo Arvizu commented on CB-6330:
------------------------------------------------

I have the same error on Windows 10, is this not supported there either?

> 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
>            Priority: Major
>              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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org