[Webkit-unassigned] [Bug 44322] Client-based geolocation missing error handling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 20 01:08:02 PDT 2010


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





--- Comment #1 from Steve Block <steveblock at google.com>  2010-08-20 01:08:01 PST ---
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.

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