[Webkit-unassigned] [Bug 11284] navigator.onLine not implemented

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 30 13:21:44 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=11284


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #7 from ap at webkit.org  2008-03-30 13:21 PDT -------
In order to make any progress on this, we should find out what Firefox and IE 8
actually do. 

Mozilla documentation says: "Additionally, this property should update whenever
a browser is no longer capable of connecting to the network." MS documentation
says the same. Technically, this does not make much sense, as a browsers can
always connect to some networks - at least, the loopback (127.0.0.1) one. This
is not just a semantic game - consider a browser that is inside an intranet
without any access to the wider Internet. A check such as one made in the
attached patch (whether www.webkit.org is reachable) would not make any sense
for it. Often, there are several active networks at once (e.g. loopback +
intranet + a GPRS link to the outer word + a dummy network created by VMWare or
Parallels). What's a browser to do?

As for onoffline/ononline events - are they supposed to fire when the user gets
on or off VPN, for example? Some network destinations become reachable or not
depending on VPN status, obviously, so this is something a Web application
needs to be informed of, too.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list