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

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 UTC