You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/04/24 20:57:17 UTC
[jira] [Commented] (CB-3225) Android webview does not support
CustomEvent constructor
[ https://issues.apache.org/jira/browse/CB-3225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13640793#comment-13640793 ]
Andrew Grieve commented on CB-3225:
-----------------------------------
I don't think we should add shims like this to the core cordova JS. Just because there would be a tonne of them in the end, and not all apps need them. Would be better to package this up as a separate cordova plugin (maybe we can have a universe of cordova "shim" plugins?), or to encourage apps to use something like modernizr to deal with shims.
> Android webview does not support CustomEvent constructor
> --------------------------------------------------------
>
> Key: CB-3225
> URL: https://issues.apache.org/jira/browse/CB-3225
> Project: Apache Cordova
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: Ian Clelland
> Assignee: Ian Clelland
>
> Reference: https://developer.mozilla.org/en-US/docs/DOM/Event/CustomEvent
> CustomEvent appears to be a shortcut for {{createEvent("CustomEvent")}} and {{initCustomEvent}}.
> Code which uses CustomEvent works correctly on iOS (and Chrome desktop) but fails when run on Android.
> I have a small browser shim for this which I'll add to the android platform.js
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira