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

On Jun 10, 2011 6:56 PM, "Eliot Graff" <Eliot.Graff@microsoft.com> wrote:
>
> ...
> > > Are we saying that we should remove the "TreatNullAs=EmptyString" and
> > keep the parameter restriction that "version" cannot be nullable?
> >
> > I think we should remove any extended attributes from the IDL and just
use
> > the default behavior. It is much less important to me what the actual
default
> > behavior is, than that we use the default behavior which presumably is
the
> > most common behavior.
> >
> > So, "yes" :)
> >
> > / Jonas
> >
>
> I removed [TreatNullAs=EmptyString] from IDBDatabase.setVersion() and
IDBDatabaseSync.setVersion.

Wait, does this mean that setVersion(null) is the same as
setVersion("null")?

Received on Friday, 10 June 2011 23:14:19 UTC