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: Mark Pilgrim <pilgrim@google.com>
Date: Fri, 10 Jun 2011 19:54:16 -0400
Message-ID: <BANLkTikJzq612+ndVBgU1O7oOOEWK7PgMQ@mail.gmail.com>
To: Mark Pilgrim <pilgrim@google.com>, 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>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:20 UTC