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

Israel Hilerio:
> Are we saying that we should remove the "TreatNullAs=EmptyString" and
> keep the parameter restriction that "version" cannot be nullable?

The [TreatNullAs=EmptyString] behaviour is now the default, so you
definitely want to remove it.  When you say “keep the parameter
restriction that "version" cannot be nullable” do you mean keep the type
as “DOMString”?  If so, then that seems like the right thing to do.
Only make it “DOMString?” if you want to distinguish between null being
passed and "" being passed.

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

Received on Tuesday, 7 June 2011 21:44:37 UTC