[Webkit-unassigned] [Bug 89524] New: [Mac] Dismiss the Geolocation permission dialog in response to GeolocationClient::cancelPermissionRequest()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 19 16:17:09 PDT 2012


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

           Summary: [Mac] Dismiss the Geolocation permission dialog in
                    response to
                    GeolocationClient::cancelPermissionRequest()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: benjamin at webkit.org


On WebKit1, the Geolocation permission query is not cancelled on cancelPermissionRequest:
   virtual void cancelPermissionRequest(WebCore::Geolocation*) OVERRIDE { };    (in WebGeolocationClient.h) 

The problem is we can have the WebKit layers calling Geolocation::setIsAllowed() after WebCore invoked cancelPermissionRequest(), which is incorrect. This could cause the Geolocation object to have erroneous permissions.

The dialog does not have to be dismissed on cancelPermissionRequest(), but the WebGeolocationPolicyListener should be disconnected from its Geolocation object.

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