[Webkit-unassigned] [Bug 11284] navigator.onLine not implemented
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 30 13:41:01 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=11284
------- Comment #8 from bedney at technicalpursuit.com 2008-03-30 13:41 PDT -------
Alexey -
Thanks for the quick reply. I will volunteer to test FF 3.0 and IE 8b1 to let
you know what they actually do, but here is my opinion:
Given my mindset as a 'strict client side' developer, I would tend to have a
'strict' interpretation of this property.
That is, if the network is inaccessible from script (i.e. posting a form or
using XHR with 'http://' URLs or trying to set the '.src' attribute of an <img>
tag dynamically, etc. etc.) and those operations are failing, I would consider
the browser to be 'offline'.
Therefore, if the browser can 'talk to a web server', whether it is running on
my localhost box, my local Intranet, a VPN, some weird thing like
VMWare/Parallels shared networking, etc. etc. then I would consider the browser
to be 'online'. Otherwise, it is 'offline'.
Therefore, like you, I find this patch to be woefully inadequate. To me, this
is something that a chunk of C code that's talking to Webkit's networking layer
needs to test (as in, 'gee I lost my network link').
I will have those test results for you later today.
Cheers,
- Bill
--
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