Re: Should clearWatch throw an exception?

This seems like the right behavior -- the desired end state after the  
call is that a watch does not exist.  So if there's no watch to start  
with, it's not an error condition, but a trivial success.
--Richard


On Sep 30, 2010, at 12:47 PM, Steve Block wrote:

> Hi Marcos,
>
> I think that the spec intends that an implementation should not throw
> an exception in this case.
>
> This is what WebKit does.
>
> Steve
> -- 
> Google UK Limited
> Registered Office: Belgrave House, 76 Buckingham Palace Road, London  
> SW1W 9TQ
> Registered in England Number: 3977902
>

Received on Thursday, 30 September 2010 19:00:38 UTC