W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: IndexedDB: Key generators (autoIncrement) and Array-type key paths

From: Joshua Bell <jsbell@chromium.org>
Date: Thu, 12 Apr 2012 08:48:30 -0700
Message-ID: <CAD649j5bee632dvarcYo+FxqbqXNt+7zPURkCO9MOuHKL_UjJg@mail.gmail.com>
To: public-webapps@w3.org
On Wed, Apr 11, 2012 at 10:56 PM, Jonas Sicking <jonas@sicking.cc> wrote:

> > NEW: If the optionalParameters parameter is specified,
> and autoIncrement is
> > set to true, and the keyPath parameter is specified to the empty string,
> or
> > specified to an Array, this function must throw
> > a InvalidAccessError exception.
>
> I thought that this was what the spec already said, but you are indeed
> correct. Yes, I think we should make exactly this change. I think this
> matches the Firefox implementation.
>
> > [1] SPEC NIT: 4.7 step 1.2 says "If the result of the previous step was
> not
> > a valid key path, then..." - presumable this should read "... was not a
> > valid key, then..."
>
> File a bug?


Yep, will do (for both of these)
Received on Thursday, 12 April 2012 15:49:04 GMT

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