Define that you can't use Array keyPaths when autoIncrement is used. Bug 16714
authorJonas Sicking <jonas@sicking.cc>
Wed, 02 May 2012 11:53:57 -0700
changeset 342a767a16d315e
parent 341 21f1eca1b624
child 343 930698d56b1c
Define that you can't use Array keyPaths when autoIncrement is used. Bug 16714
Overview.html
Speclet_022_IDB_API_Synchronous_APIs.html
Speclet_023_IDB_API_Asynchronous_APIs.html
     1.1 --- a/Overview.html	Mon Mar 26 04:39:43 2012 -0700
     1.2 +++ b/Overview.html	Wed May 02 11:53:57 2012 -0700
     1.3 @@ -1787,8 +1787,8 @@
     1.4                </p>
     1.5                <p>
     1.6                  If the <var>optionalParameters</var> parameter is specified, and <code>autoIncrement</code> is set to true, and
     1.7 -                the <code>keyPath</code> parameter is specified to the empty string, or specified to an <code>Array</code>
     1.8 -                and one of the items is an empty string, this function MUST throw a <code>InvalidAccessError</code> exception.
     1.9 +                the <code>keyPath</code> parameter is specified to the empty string, or specified to an <code>Array</code>,
    1.10 +                this function MUST throw a <code>InvalidAccessError</code> exception.
    1.11                </p>
    1.12                <p>
    1.13                  In some implementations it's possible for the implementation to run into problems 
    1.14 @@ -3039,8 +3039,8 @@
    1.15                </p>
    1.16                <p>
    1.17                  If the <var>optionalParameters</var> parameter is specified, and <code>autoIncrement</code> is set to true, and
    1.18 -                the <code>keyPath</code> parameter is specified to the empty string, or specified to an <code>Array</code>
    1.19 -                and one of the items is an empty string, this function MUST throw a <code>InvalidAccessError</code> exception.
    1.20 +                the <code>keyPath</code> parameter is specified to the empty string, or specified to an <code>Array</code>,
    1.21 +                this function MUST throw a <code>InvalidAccessError</code> exception.
    1.22                </p>
    1.23                <dl class="parameters">
    1.24                  <dt>DOMString name</dt>
     2.1 --- a/Speclet_022_IDB_API_Synchronous_APIs.html	Mon Mar 26 04:39:43 2012 -0700
     2.2 +++ b/Speclet_022_IDB_API_Synchronous_APIs.html	Wed May 02 11:53:57 2012 -0700
     2.3 @@ -352,8 +352,8 @@
     2.4                </p>
     2.5                <p>
     2.6                  If the <var>optionalParameters</var> parameter is specified, and <code>autoIncrement</code> is set to true, and
     2.7 -                the <code>keyPath</code> parameter is specified to the empty string, or specified to an <code>Array</code>
     2.8 -                and one of the items is an empty string, this function MUST throw a <code>InvalidAccessError</code> exception.
     2.9 +                the <code>keyPath</code> parameter is specified to the empty string, or specified to an <code>Array</code>,
    2.10 +                this function MUST throw a <code>InvalidAccessError</code> exception.
    2.11                </p>
    2.12                <dl class="parameters">
    2.13                  <dt>DOMString name</dt>
     3.1 --- a/Speclet_023_IDB_API_Asynchronous_APIs.html	Mon Mar 26 04:39:43 2012 -0700
     3.2 +++ b/Speclet_023_IDB_API_Asynchronous_APIs.html	Wed May 02 11:53:57 2012 -0700
     3.3 @@ -490,8 +490,8 @@
     3.4                </p>
     3.5                <p>
     3.6                  If the <var>optionalParameters</var> parameter is specified, and <code>autoIncrement</code> is set to true, and
     3.7 -                the <code>keyPath</code> parameter is specified to the empty string, or specified to an <code>Array</code>
     3.8 -                and one of the items is an empty string, this function MUST throw a <code>InvalidAccessError</code> exception.
     3.9 +                the <code>keyPath</code> parameter is specified to the empty string, or specified to an <code>Array</code>,
    3.10 +                this function MUST throw a <code>InvalidAccessError</code> exception.
    3.11                </p>
    3.12                <p>
    3.13                  In some implementations it's possible for the implementation to run into problems