You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/01/18 21:16:13 UTC

[jira] [Commented] (CB-2238) navigator.onLine - native implementation is clobbered

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

Filip Maj commented on CB-2238:
-------------------------------

I would bring this up on the mailing list, Bryan. The reason we went with a different API is because this one is simplistic. There are no events supported with just that property.
                
> navigator.onLine - native implementation is clobbered 
> ------------------------------------------------------
>
>                 Key: CB-2238
>                 URL: https://issues.apache.org/jira/browse/CB-2238
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 2.3.0
>            Reporter: Bryan Higgins
>            Assignee: Filip Maj
>            Priority: Minor
>
> On BlackBerry 10, there is a native implementation of navigator.onLine. This is a more reliable test than checking connection status. For example, the device could be connected to BlueTooth, but WebKit has no network connectivity.
> Is there a reason we override this for other platforms? I understand the need to polyfill for platforms on which this isn't available.

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