[Webkit-unassigned] [Bug 26993] [commit+] Geolocation::requestPermission()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 6 09:33:34 PDT 2009


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





--- Comment #13 from steveblock at google.com  2009-08-06 09:33:32 PDT ---
> I don't think it's a problem, because:
I'm pretty sure it is a problem. You're right that the check on
m_allowGeolocation in requestPermission() will prevent repeated calls to
requestGeolocationPermissionForFrame(), but there will still be repeated
callbacks to watchers.

The first callbacks are made when the call stack is ...
geolocationServicePositionChanged() -> requestPermission() ->
requestGeolocationPermissionForFrame() -> setIsAllowed() ->
geolocationServicePositionChanged()

The stack then unwinds to ...
geolocationServicePositionChanged()
and the callbacks are made a second time.

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