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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 6 09:38:08 PDT 2009


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





--- Comment #14 from Yong Li <yong.li at torchmobile.com>  2009-08-06 09:38:07 PDT ---
(In reply to comment #13)
> > 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.

I see. It sends current position twice.

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