DescriptionSet default values for timeout and maximumAge of PositionOptions
Geolocation spec defines default values for both timeout and
maximumAge but current implementation is working with
hasTimeout and hasMaximumAge functions for emulating that.
Setting initial values of timeout and maximumAge is more proper than using these "has" functions.
In addition, hasZeroTimeout can be removed because it is
enough to check timeout is zero or not and clearMaximumAge
can also be removed, as it is enough to set 0 to maximumAge.
BUG=368184
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175131
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Patch Set 3 : Change <limits> to <limits.h> #
Messages
Total messages: 13 (0 generated)
|