cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7415) File plugin's ProgressEvent implementation overwrites browser's native implementation
Date Wed, 15 Oct 2014 15:17:33 GMT

    [ https://issues.apache.org/jira/browse/CB-7415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172464#comment-14172464
] 

ASF GitHub Bot commented on CB-7415:
------------------------------------

Github user dzeims commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/71#issuecomment-59222344
  
    It looked like the version of WebKit used by iOS 6, 7, and BB 10.2.x would throw a TypeError
when attempting to redefine the target property on the ProgressEvent.  Updated versions of
WebKit, as in iOS 8, didn't seem to have this issue.  I've updated the code to wrap the affected
versions instead.  Seems to work on the iOS 6,7 and BB10 devices I've tried.


> File plugin's ProgressEvent implementation overwrites browser's native implementation
> -------------------------------------------------------------------------------------
>
>                 Key: CB-7415
>                 URL: https://issues.apache.org/jira/browse/CB-7415
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 3.5.0, 3.6.0
>            Reporter: James White
>
> The File plugin includes ProgressEvent.js, an implementation that mimics ProgressEvent
objects for the FileReader/FileWriter objects, but does not include the usual event methods,
etc.  
> When the File plugin is added to a project, any existing ProgressEvent implementation
native to the browser environment is overwritten with this one, breaking code outside of the
plugin that relies on ProgressEvent functionality.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message