- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 06 Dec 2013 14:43:40 -0500
- To: Joshua Bell <jsbell@google.com>
- CC: "public-webapps@w3.org" <public-webapps@w3.org>
On 12/6/13 2:37 PM, Joshua Bell wrote: > This behavior is specified in prose, not IDL: > > https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBFactory-open-IDBOpenDBRequest-DOMString-name-unsigned-long-long-version > > "If the value of version is 0 (zero), the implementation must throw a > TypeError." Oh, huh. I was mislead here by Gecko not having indexeddb on webidl yet, so in fact seems to allow null. :( OK, great. > undefined is treated as not passed. > > ... and we could default to 0 here, if we went down this path. Ah, make sense. -Boris
Received on Friday, 6 December 2013 19:44:10 UTC