IDBObjectStore attributes

The spec states that the user can expect access to IDBObjectStore attributes keyPath, indexNames etc: https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#idl-def-IDBObjectStore.
The workaround method "getStoreProperties" doesn't implement the specification correctly, but it does at least provide roughly the same functionality to those that need it without requiring too many changes to the shim's codebase.
It would be better if these properties were set inside the IDBObjectStore constructor so that a snapshot of the values is immediately available as the spec intends. I tried this but decided that I'm not man enough to face the difficulties arising implementing such a thing (i.e. dealing with waiting for the properties to be loaded before returning from the ctor).