[Webkit-unassigned] [Bug 30676] Geolocation maximumAge property is not applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 10 12:00:08 PST 2010


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





--- Comment #15 from Steve Block <steveblock at google.com>  2010-03-10 12:00:08 PST ---
> Make seems like a confusing word.  run, exec, execute all seem more clear.
Updated to use 'run'

> Why isn't this just an "else if".  This seems like needless indentation.
Good point, fixed.

> How does this work, if you set the error here?  Shouldn't this happen after you
> get the zero age?
testZeroMaximumAge(), which was called previously, tested that when maximumAge
is zero, we go to the GeolocationService for the latest position. Here, we
configure  the GeolocationService to report an error when it's next queried.
However, we call getCurrentPosition with a non-zero maximumAge, so we don't go
to the GeolocationService,  but instead return the cached position. The final
test calls getCurrentPosition again with a zero maximumAge and expects to get
the error from the GeolocationService.

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