Re: [indexeddb] IDBDatabase.setVersion non-nullable parameter has a default for null

Mark Pilgrim:
> I'm happy to report that WebKit's implementation of IndexedDB now
> follows WebIDL and throws TypeError on all functions when called with
> missing required arguments. We have grandfathered in all existing IDL
> files to use the old, looser code generator, but we are actively
> working on migrating *all* 521 IDL files to use the new, stricter
> generator (with [Optional] flags in places where we can't break
> compatibility). IndexedDB is the first success in this process; as an
> experimental API, we feel no need to maintain compatibility and have
> opted for the stricter semantics everywhere, matching the WebIDL and
> IndexedDB specs exactly. Next will be other experimental APIs like the
> web audio API and the File API, where we hope to have similar levels
> of success.

Great work!  I’m really happy to see some of the more complex
requirements of Web IDL start to get implemented, so that we can find
out sooner whether there are any problems that require spec changes.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Friday, 24 June 2011 04:50:28 UTC