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

On Fri, Jun 10, 2011 at 7:43 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> Mark Pilgrim:
>> Wait, does this mean that setVersion(null) is the same as
>> setVersion("null")?
>
> It means it’s the same as setVersion(""), per the recent changes to Web
> IDL which make that the default stringification of null.

What about setVersion() with no arguments? I ask because WebKit
currently treats it like setVersion("undefined") and I'm in the
process of fixing it in about 19 places.

Received on Friday, 10 June 2011 23:54:40 UTC