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

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.  (To get the
opposite behaviour, you now need to specify [TreatNullAs=String].)

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

Received on Friday, 10 June 2011 23:44:38 UTC