[Webkit-unassigned] [Bug 44322] Client-based geolocation missing error handling
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 7 20:38:51 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=44322
Mahesh Kulkarni <mahesh.kulkarni at nokia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Mahesh Kulkarni <mahesh.kulkarni at nokia.com> 2011-02-07 20:38:51 PST ---
(In reply to comment #1)
> Can you explain exactly what error handling is missing?
>
> I don't think there's any need for GeolocationControllerClient::startUpdating() to return a boolean indicating success. If the client fails to start the location acquisition process, it should asynchronously call GeolocationController::errorOccurred().
>
> The fact that GeolocationService::startUpdating() returns a boolean is awkward, as in the case of an error, it requires the Geolocation object to manage making the error callback asynchronous.
Makes sense. Closing the bug. Thanks Steve and Jarred.
--
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