[Webkit-unassigned] [Bug 48518] New: Convert correctly between GeolocationPosition and Geoposition timestamp formats

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 28 06:22:30 PDT 2010


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

           Summary: Convert correctly between GeolocationPosition and
                    Geoposition timestamp formats
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jknotten at chromium.org
                CC: sam at webkit.org


WebCore/Page/Geolocation.cpp creates Geopositions from GeolocationPositions, but incorrect converts the timestamp. The GeolocationPosition timestamp is a floating point number in seconds (a double), and the Geoposition timestamp is a DOMTimestamp which is an integer number of milliseconds (unsigned long long). The fix is to convert seconds to milliseconds by multiplying by 1000.

-- 
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