W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Indexed database API autoIncrement

From: Shawn Wilsher <me@shawnwilsher.com>
Date: Sun, 13 Nov 2011 21:38:43 -0800
Message-ID: <4EC0A963.4020609@shawnwilsher.com>
To: public-webapps@w3.org
On 10/23/2011 3:04 PM, Jonas Sicking wrote:
> Good catch! This definitely needs to be specified in the spec.
>
> I have a weak preference for using 1. This has a smaller risk of
> triggering edge cases in the client code since it's always truthy.
> I.e. if someone tries to detect the presence of an id, they won't fail
> due to the id being 0.
Looks like there was a [loose] consensus around one, but it's not 
specified as far as I can tell.  Should I file a bug or will it get 
magically fixed with this e-mail?

Cheers,

Shawn
Received on Monday, 14 November 2011 05:39:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT