[Webkit-unassigned] [Bug 32327] New: ononline, onoffline and navigator.onLine don't respond to establishing and losing connections

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 9 09:51:23 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32327

           Summary: ononline, onoffline and navigator.onLine don't respond
                    to establishing and losing connections
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: https://bug336359.bugzilla.mozilla.org/attachment.cgi?
                    id=220609
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: grimm at xqdev.com


When going offline or coming back online my understanding is that according to
the HTML 5 spec the ononline/onoffline events should fire accordingly and the
navigator.onLine property should report the current online state when accessed.
 In the latest nightly builds as well as Safari 4, these events don't fire and
navigator.onLine always appears to return true.  To reproduce the problem, load
the provided URL and disconnect your network connection.  The top box should
turn red and report an offline state.  To see an example of the behavior I was
expecting, try the same procedure using FireFox (3.5).

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



More information about the webkit-unassigned mailing list