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

Re: Indexed database API autoIncrement

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 14 Nov 2011 08:49:22 -0800
Message-ID: <CA+c2ei9jGAW4L1_J-w0kocYahX-o0mqy6pw=gbaSi+2imO1cpA@mail.gmail.com>
To: Shawn Wilsher <me@shawnwilsher.com>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>
On Sunday, November 13, 2011, Shawn Wilsher <me@shawnwilsher.com> wrote:
> 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?

Please file bug.

/ Jonas
Received on Monday, 14 November 2011 16:50:00 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC