- From: Cameron McCormack <cam@mcc.id.au>
- Date: Wed, 25 Jan 2012 09:46:33 +1100
- To: Joshua Bell <jsbell@chromium.org>
- CC: public-webapps@w3.org
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.
Received on Tuesday, 24 January 2012 22:47:18 UTC