[Webkit-unassigned] [Bug 42068] New: Need to be able to configure Geolocation policy regarding user permissions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 12 03:17:44 PDT 2010


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

           Summary: Need to be able to configure Geolocation policy
                    regarding user permissions
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
            Blocks: 40373


When writing the initial Geolocation implementation, a decision was made to start the location acquisition process before prompting the user for permission. Only once a position has been successfully obtained do we prompt the user. This avoids unnecessary prompting in the case when a location is unavailable. Note that this complies with the Geolocation spec (http://dev.w3.org/geo/api/spec-source.html), which requires that a UA must obtain user permission before disclosing location information. See also the discussion in Bug 39434.

When the client-based Geolocation implementation was added, the opposite decision was taken. Permission is always obtained before the location acquisition process is started.

As a result, the selection of a Geolocation implementation (with ENABLE(CLIENT_BASED_GEOLOCATION) also determines the user permission policy. Instead, the choice of user permission policy should be set independently, probably with a new USE flag.

Note that plans are in place to deprecate the non-client-based Geolocation implementation. See Bug 40373.

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