[Webkit-unassigned] [Bug 27944] New: Geolocation error callback not called if permissions have already been denied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 3 10:08:02 PDT 2009


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

           Summary: Geolocation error callback not called if permissions
                    have already been denied
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com


If geolocation.getCurrentPosition() or geolocation.watchPosition() is called
after Geolocation permissions have previously been denied, and the
implementation obtains a position fix, the error callback is not called to
indicate that permissions have been denied. Instead, no callback is made.

In Geolocation::geolocationServicePositionChanged(), if Geolocation permissions
have previously been denied, isAllowed() returns false and the method returns
without any callbacks being called. The error callback should instead be called
with code PERMISSION_DENIED to indicate that permissions have been denied.

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