On Monday, June 06, 2011 3:25 PM, Cameron McCormack wrote:
> Jonas Sicking:
> > I don't know about other APIs. But it does seem very unfortunate to
> > simply silently ignore unknown arguments to
> > IDBDatabase.createObjectStore. Though then again, extra (and thus
> > unknown) arguments are ignored to all other DOM calls.
> 
> Right (not as defined in Web IDL at the moment, but will be soon).
> 
> --
> Cameron McCormack ≝ http://mcc.id.au/

Jonas, could you elaborate why it is so important to reject/throw on the 
existence of any other properties on the optional parameters?  What are the 
side effects you believe we need to contain? 

Based on this thread, it seems like this behavior is inconsistent with what JS 
developers expect and how DOM APIs are designed.

From our point of view, we don't believe getters and setters should be 
artificially restricted and we agree with Cameron on allowing our methods to 
take extra parameters and ignore them.

Israel

Reply via email to