Re: [indexedDB] OptionalParameter question on IDBDatabase.createObjectStore

On Fri, May 27, 2011 at 10:27 AM, Israel Hilerio <israelh@microsoft.com> wrote:
> For the optional parameters variable that is expected by the
> IDBDatabase.createObjectStore function, would it be possible to constrain
> the variable to have the keyPath and autoIncrement attributes as part of its
> instance members and not as part of its inheritance hierarchy?

I think that would not ring well with the ECMAScript people in TC39.
For example we asked that it should not be allowed to implement the
properties using getters as to avoid having to worry about javascript
running from inside the createObjectStore implementation, however the
feedback we got was unanimously strongly opposed that.

/ Jonas

Received on Friday, 27 May 2011 19:43:52 UTC