[Webkit-unassigned] [Bug 50566] New: Delay starting geolocation request until permission has been granted or denied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 6 06:16:37 PST 2010


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

           Summary: Delay starting geolocation request until permission
                    has been granted or denied
           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


If USE(PREEMPT_GEOLOCATION_PERMISSION) USE(PREEMPTIVE_GEOLOCATION), none of the steps to start a watch or get a position should be taken until permission has been set. This is in accordance with the specification:

"For both getCurrentPosition and watchPosition, the implementation must never invoke the successCallback without having first obtained permission from the user to share location. Furthermore, the implementation should always obtain the user's permission to share location before executing any of the getCurrentPosition or watchPosition steps described above." 
[ http://www.w3.org/TR/geolocation-API/#geolocation_interface ]

At present, the implementation does not meet the specification because the steps for checking for a suitable cached position, and zero timeout are taken before the permission has been set.

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