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 Mon, 06 Oct 2014 21:28:34 GMT

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

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

Github user clelland commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/71#issuecomment-58102341
  
    On iOS 6 & 7 (haven't tried 8 yet), I get an error in mobilespec with this patch:
    
        TypeError: Attempting to change access mechanism for an unconfigurable property.
    
    [ProgressEvent.js:102]


> 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