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

Re: [indexeddb] Using WebIDL Dictionary in IDBObjectStore.createIndex for optionalParameters

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 17 Jun 2011 10:08:52 +1200
To: Israel Hilerio <israelh@microsoft.com>
Cc: Jonas Sicking <jonas@sicking.cc>, timeless <timeless@gmail.com>, "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <20110616220852.GC11042@wok.mcc.id.au>
Israel Hilerio:
> Great!  I will work with Eliot to update the spec for the two APIs
> below, including their Synchronous counterparts, with:
> -------
> dictionary IDBDatabaseOptionalParameters {
>    DOMString keyPath = null;

That would need to be

  DOMString? keyPath = null;

(or else just write “DOMString keyPath;” and state in prose what it
means if the dictionary member was not specified).

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 16 June 2011 22:09:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT