You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/14 12:42:04 UTC

[jira] [Commented] (CB-6949) CSP in FirefoxOS breaks app.initialize() causing deviceReady not to fire

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

ASF subversion and git services commented on CB-6949:
-----------------------------------------------------

Commit a662848f1fbb4e9c1380497ef084cfbb41f86840 in cordova-app-hello-world's branch refs/heads/master from [~zalun]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;h=a662848 ]

Merge remote-tracking branch 'marti1125/CB-6949'


> CSP in FirefoxOS breaks app.initialize() causing deviceReady not to fire
> ------------------------------------------------------------------------
>
>                 Key: CB-6949
>                 URL: https://issues.apache.org/jira/browse/CB-6949
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: FirefoxOS
>            Reporter: John McLear
>            Priority: Critical
>
> To replicate:
> cordova create test
> cordova platform add firefoxos
> Run your application on firefoxos and you will notice deviceReady does not fire.  You will also get a CSP warning.
> The cause is the inline "app.initialize()"
> The fix is to move the app.initialize() to another file and set the script at "defer"ed however I expect this will break a lot of other things.
> FirefoxOS expects CSP for all applications by default and is completely strict about certified applications.



--
This message was sent by Atlassian JIRA
(v6.2#6252)