W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: [Bug 11398] New: [IndexedDB] Methods that take multiple optional parameters should instead take an options object

From: Shawn Wilsher <sdwilsh@mozilla.com>
Date: Fri, 10 Dec 2010 10:07:45 -0800
Message-ID: <4D026C71.5050802@mozilla.com>
To: Jeremy Orlow <jorlow@chromium.org>
CC: public-webapps@w3.org
On 12/10/2010 7:27 AM, Jeremy Orlow wrote:
> We did all of these two weeks ago in Chromium and have gotten some feedback.
>   The main downside is that typos are silently ignored by JavaScript.  We
> considered throwing if someone passed in an option we didn't recognize, but
> this would make it impossible to add more options later (which is one of the
> main reasons for doing this change).  I think what we might do is just log
> something in the console with this happens.  (Should the spec actually make
> a recommendation to this effect?)  Besides that, I think overall we're happy
> with the change.
I think logging should maybe be recommended by the spec, but probably 
not required.



Received on Friday, 10 December 2010 18:08:39 UTC

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