cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-8252) Prep core plugins for CSP by removing eval()s (Android only)
Date Fri, 09 Jan 2015 02:57:35 GMT


ASF subversion and git services commented on CB-8252:

Commit 4fb7b37a4e825868cae808caa807f8afbde194de in cordova-plugin-media's branch refs/heads/master
from [~chasej]
[;h=4fb7b37 ]

CB-8252 Fire audio events from native via message channel (close #41)
- Add startup logic to initialize a message channel for native -> Javascript
- Applies only to android and amazon-fireos (as this reuses the android native code)
- Change audio status events to send via plugin message channel, instead
using eval() (i.e. webView.sendJavascript())

> Prep core plugins for CSP by removing eval()s (Android only)
> ------------------------------------------------------------
>                 Key: CB-8252
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugins
>    Affects Versions: Master
>            Reporter: Jason Chase
>            Assignee: Andrew Grieve
> In preparation for CSP, remove any native Android code in the core plugins that is using
inline javascript/eval()s.  Other platforms with native code (i.e. iOS) are out of scope for
> Found only the media plugin ( that was using inline javascript
(to send status updates).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message