[Webkit-unassigned] [Bug 27255] New: Geolocation incorrectly calls error callback in case of exception in success callback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 14 04:46:14 PDT 2009


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

           Summary: Geolocation incorrectly calls error callback in case
                    of exception in success callback
           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
                CC: andreip at google.com, bolsinga at apple.com


Currently, if an exception occurs when invoking the user-supplied success
callback, the error callback (if supplied) is invoked. See
Geolocation::sendPositionToOneShots() and
Geolocation::sendPositionToWatchers().

The error callback is intended to report errors in the Geolocation location
acquisition process itself, not errors in the user's script. See
http://www.w3.org/TR/geolocation-API/#geolocation. For this reason, the error
callback should not be invoked in the case of exceptions in the success
callback.

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