This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Both object stores and indexes can have key paths which are Arrays, but the WebIDL defines the keyPath attribute for each as a DOMString. What should these yield if the key path is an Array?
The WebIDL for IDBObjectStore's createIndex method needs an update as well: IDBIndex createIndex (DOMString name, DOMString keyPath, optional IDBIndexParameters optionalParameters); Should either be "any" or an overload: IDBIndex createIndex (DOMString name, DOMString keyPath, optional IDBIndexParameters optionalParameters); IDBIndex createIndex (DOMString name, DOMString[] keyPath, optional IDBIndexParameters optionalParameters);
Should be fixed now. I couldn't get ReSpec to work with the overloads, so I just used 'any'. The normative requirements for how to convert the keyPath into a string or array of strings was already in the normative text.