W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 11 Jun 2011 11:43:58 +1200
To: Mark Pilgrim <pilgrim@google.com>
Cc: Eliot Graff <Eliot.Graff@microsoft.com>, Jonas Sicking <jonas@sicking.cc>, "public-webapps@w3.org" <public-webapps@w3.org>, Jeremy Orlow <jorlow@chromium.org>, Israel Hilerio <israelh@microsoft.com>
Message-ID: <20110610234358.GA31560@wok.mcc.id.au>
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:32 UTC