Joshua Bell:
By my reading of the IDB and WebIDL specs, the optionalParameters parameter is a WebIDL dictionary (http://www.w3.org/TR/IndexedDB/#options-object-concept). The ECMAScript binding algorithm for WebIDL dictionaries (http://www.w3.org/TR/WebIDL/#es-dictionary) is such that the members expected in the IDL dictionary are read out of the ECMAScript object, but the properties of the ECMAScript object itself are never enumerated and therefore "extra" properties should be ignored. Therefore, the "parameter" property in the test code would be ignored, and this would be treated the same as db.createObjectStore(name, {}) which should not produce an error.
That's right.