W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 09 Sep 2011 13:35:03 -0400
Message-ID: <4E6A4E47.1010701@mit.edu>
To: public-script-coord@w3.org
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC