Re: Should clearWatch throw an exception?

Hi Marcos,

Firefox does not assert if you pass invalid watch id's to clearWatch().  We could change this, but I am not sure there is any real value for doing so.


On Sep 30, 2010, at 6:08 AM, Marcos Caceres wrote:

> Hi
> I'm seeking some clarifications: Should clearWatch throw an exception?
> 
> From the spec, it is unclear whether clearWatch throws an exception if it is called with with an invalid/nonexistent watchId. The specs indicates that the function returns immediately with no further action so I'm a bit confused.
> 
> (My team implements Geolocation at Opera... so I would please really appreciate some help so we can implement it right).
> 
> -- 
> Marcos Caceres
> Opera Software
> 

Received on Thursday, 30 September 2010 16:33:44 UTC