2.1.9 [W3C-INDEXDB] Section 3.2.4 Database

V0021: The keyPath parameter cannot be specified as an array

The specification states:

 3.2.4 Database
     A database object can be used to manipulate the objects of that database. It is also 
     the only way to obtain a transaction for that database.
         …
         interface IDBDatabase : EventTarget {
             …
             IDBObjectStore createObjectStore (DOMString name, optional 
             IDBObjectStoreParameters optionalParameters);
             …
         };
      ...
      createObjectStore
         ...
         If the optionalParameters argument is specified and has a keyPath property which 
         is not undefined or null, then set keyPath to the value of this property. ...

IE11 Mode and EdgeHTML Mode (All versions)

The keyPath parameter cannot be specified as an array.

V0019: The onversionchange event is not supported

The specification states:

 … …
     ...
         interface IDBDatabase : EventTarget {
             …
             attribute EventHandler onversionchange;
         };

IE11 Mode and EdgeHTML Mode (All versions)

The onversionchange event is not supported.

V0022: The transaction function throws an InvalidAccessError, not a TypeError

The specification states:

 3.2.4 Database
     A database object can be used to manipulate the objects of that database. It is also 
     the only way to obtain a transaction for that database.
         …
         interface IDBDatabase : EventTarget {
             …
             IDBTransaction transaction ((DOMString or sequence<DOMString>) storeNames,
                 optional IDBTransactionMode mode = "readonly");
             …
         };
      ...
      transaction
         ...
         If the value for the mode parameter is not "readonly" or "readwrite", the 
         implementation MUST throw a TypeError.

IE11 Mode and EdgeHTML Mode (All versions)

The transaction function throws an InvalidAccessError, not a TypeError.

V0018: The version attribute returns a DOMString

The specification states:

 ... ...
     ...
         interface IDBDatabase : EventTarget {
             …
             readonly    attribute unsigned long long version;
             …
         };

IE11 Mode (All versions)

The version attribute returns a DOMString:

    readonly attribute DOMString version;

V0020: A DOMException of type InvalidAccessError, not SyntaxError, is thrown.

The specification states:

 If the optionalParameters argument is specified and has a keyPath property which is not 
 undefined or null, then set keyPath to the value of this property. If keyPath is not a 
 valid key path, the implementation MUST throw a DOMException of type SyntaxError.

IE11 Mode and EdgeHTML Mode (All versions)

A DOMException of type InvalidAccessError, not SyntaxError, is thrown.