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

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

GitHub user marti1125 opened a pull request:

    https://github.com/apache/cordova-app-hello-world/pull/8

    update index.html and index.js

    I removed this script of index.html
    app.initialize();
    
    https://issues.apache.org/jira/browse/CB-6949

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/marti1125/cordova-app-hello-world CB-6949

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-app-hello-world/pull/8.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8
    
----
commit 58a493cddfe1a3fc0aa942c4a90ccd2108a55638
Author: Willy Aguirre <[email protected]>
Date:   2014-06-30T02:47:53Z

    update index.html and index.js

----


> 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)

Reply via email to