On 10/11/12 1:43 AM, Jonas Sicking wrote: > I agree that it's not explicitly the same thing as what we have here. > But I think the general idea is "for optional arguments, treat > 'undefined' as if a value wasn't passed at all". OK. I can live with that, as long as everyone else gets on that page too. >> Note that openCursor, which I think is where this thread started, does NOT >> define default values for its arguments. Should it? > > Probably yes. I think explicitly making 'null' the default value would > clear things up. That would help, yes. As would defining null and undefined explicitly to be missing key values. >> (As a side note, the IDL for openCursor is not valid WebIDL, because "any?" >> is not a valid WebIDL type.) > > That sounds like a WebIDL bug. It's a bug in the IDL for openCursor, since "any" already allows null as a value so "any?" is nonsensical just like "Node??" would be nonsensical. -BorisReceived on Thursday, 11 October 2012 05:57:45 UTC
This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:07 UTC