[Webkit-unassigned] [Bug 19105] New: navigator.onLine property doesn't exist

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 16 17:51:12 PDT 2008


           Summary: navigator.onLine property doesn't exist
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: All
               URL: http://writer.zoho.com/
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptGlue
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mpComplete at gmail.com

Firefox and IE both have a navigator.onLine property which is false whenever
the "Work Offline" option is enabled.  In Safari, this property is undefined.

This came up when testing Safari with a local build of Gears against
writer.zoho.com's offline feature.  Since 'navigator.onLine' evaluates to
false, their checks assumed we were offline, and various things did not work.

Since Safari doesn't have a "Work Offline" feature, having this always return
true seems a reasonable way to improve web compat.

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