cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2238) navigator.onLine - native implementation is clobbered
Date Fri, 18 Jan 2013 20:16:13 GMT

    [ 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

Mime
View raw message