This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
createIndex's options should include whether a field is optional/required. I know Jonas and I talked about this a bunch and I thought we had fixed it (or at least filed a bug for it) but I can't find any trace. Right now Chrome defaults to required and Firefox defaults to optional. IIRC, after talking about it a bunch, Jonas convinced me it should default to optional to make things less schema-full by default.
Rewrote 3.1.12, Options Objects, to define the dictionary objects IDBDatabaseOptionalParameters and IDBIndexOptionalParameters (removing the Note, the Issue, and the two sentences about exceptions). Changed types from the optionalParameters type to the new types in IDBObjectStore.createObjectStore (IDBDatabase and IDBDatabaseSync) and in IDBIndex createIndex (IDBObjectStore and IDBObjectStoreSync).