Geolocation API: Update IDL

"in" keyword needs to be removed, it has been obsolete for a long time.

PositionCallback can become:

callback PositionCallback = void (Position position);

Similar for PositionErrorCallback.

PositionOptions can become:

dictionary PositionOptions {
   boolean enableHighAccuracy = false;
   double timeout = Infinity;
   long maximumAge = 0;
};

(I believe "long" cannot have the Infinity value so that would be a bug in  
the current draft.)


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Thursday, 8 March 2012 08:06:51 UTC