Re: [WebIDL] Behavior for negative values passed for unsigned arguments

On 9/9/11 1:28 PM, Jonas Sicking wrote:
> In the IndexedDB spec we've started working around the current default
> behavior for unsigned arguments by making arguments signed and define
> that an exception is thrown for negative values.

That's why the EnforceRange annotation exists: so you don't have to do that!

-Boris

Received on Friday, 9 September 2011 17:35:31 UTC