Given the evolution of WebIDL, the following changes would better match
NavigatorGeolocation interface would be better expressed as a partial interface;timeout and maximumAge in PositionOptions can take infinite values, but Infinite gets converted to 0 for values of type long;PositionOptions would be better written as a dictionary with default values matching the prose description of 5.2; the said prose can then be reducedProposed correction:
NavigatorGeolocation should be rewritten as:
partial interface Navigator {
readonly attribute Geolocation geolocation;
};[Clamp] extended attribute gets Infinite properly converted to the maximum value of the integer type;The WebIDL declaration of PositionOptions should be changed to:
dictionary PositionOptions {
boolean enableHighAccuracy = false;
[Clamp] unsigned long timeout = 0xFFFFFFFF;
[Clamp] unsigned long maximumAge = 0;
};
In 5.1, the pre-processing steps of getCurrentPosition and “watch process” are removed. In 5.2, the text describing the default values of enableHighAccuracy, timeout and maximumAge (paragraphs 5, 7 and 10 in that section) are removed.
Navigator interface” is redundant with WebIDL and can be removed;getCurrentPosition and “watch process” algorithms are indicated as “should execute the following set of steps”; the steps in the algoritms are in fact mandatory.Proposed corrections:
getCurrentPosition and “watch process” algorithmsThis document is a place-holder for errata to be published on the W3C Geolocation API dated of October 24 2013.