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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 30 12:52:45 PDT 2008


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


bedney at technicalpursuit.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bedney at technicalpursuit.com




------- Comment #6 from bedney at technicalpursuit.com  2008-03-30 12:52 PDT -------
I can confirm that this property is not implemented in Webkit (at least not on
"AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13").

Can someone mark this as New?

Since it has been awhile since this bug has been poked, I'll add a bit of
detail here. Feel free to comment if you find these statements inaccurate. More
detail can be found here:

http://developer.mozilla.org/en/docs/Online/Offline_Events

To summarize, IE and Firefox implemented this property awhile back (IE has had
it since 4.0!). It was originally meant to only indicate whether the user has
chosen via a menu item or some other GUI element to 'go offline'.

In FF 2.0, this property is also set to true or false depending on whether the
actual network connection is up or down. This capability is being brought to
IE8, as detailed towards the bottom of this article:

http://msdn2.microsoft.com/en-us/library/cc304129(VS.85).aspx

Also, FF 3.0 and IE8 will be implementing the 'online' and 'offline' events (in
IE8, you'll use 'ononline=' and 'onoffline=' and in FF you can use those or
addEventListener()). These events are detailed in the two articles given above.
Should we open a new bug asking that those events be implemented for Webkit
too??

Either way, at a minimum 'navigator.onLine' should be fixed. Its been around
for a while and is becoming more important with the advent of more Web stuff
'going offline'.

Comments or suggestions??

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