You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard Sentino (JIRA)" <ji...@apache.org> on 2013/08/05 05:43:48 UTC

[jira] [Commented] (CB-3202) DeviceReady Event not being handled

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

Richard Sentino commented on CB-3202:
-------------------------------------

Hi

I seem to be getting "Security Error" exception when Cordova tried to do typeof operation[1] - especially when it reached to 'mozTime' API which is only allowed on certified applications[2]. Wrapping this in try/catch statement [3] seems to do the trick and would like to get some feedback pls.

[1] https://github.com/apache/cordova-js/blob/master/lib/common/init.js#L56
[2] https://developer.mozilla.org/en-US/docs/Web/API/window.navigator.mozTime
[3] https://github.com/rixrix/cordova-js/commit/b479b1fdb41bbf3edff76d46b5c41ecd859a0342
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=751011#c3
                
> DeviceReady Event not being handled
> -----------------------------------
>
>                 Key: CB-3202
>                 URL: https://issues.apache.org/jira/browse/CB-3202
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: FirefoxOS
>    Affects Versions: 2.6.0
>            Reporter: Herm Wong
>            Assignee: Herm Wong
>            Priority: Blocker
>
> when deploying the Cordova-FirefoxOS implementation onto the FirefoxOS simulator or test device, the deviceready event does not seem to be getting fired / or handled properly.

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