[webkit-dev] GeolocationService::startUpdating question

Holger Freyther zecke at selfish.org
Sat Nov 1 09:33:02 PDT 2008


Hey,

I have another GeolocationService question and wonder if someone could shed 
some light into the situation.

Geolocation.cpp is invoking GeolocationService::startUpdating, if the 
GeolocationService implementation is returning false it is treated as 
Permission denied.

The questions I have are:
	- Can lastError be checked as well? E.g. there might be no provider and the 
service just returned false because of that?

	- Should the error message move to LocalizedStrings?

	- If one looks at the mozilla mockup/implementation the permission check 
might go through the userinterface. Which means we might want to do something 
like we do in the FrameLoaderClient for policy checks?


I'm happy to prepare patches if it makes sense
	z.




More information about the webkit-dev mailing list