- From: Dominique Hazael-Massieux <dom@w3.org>
- Date: Tue, 31 May 2011 13:19:41 +0200
- To: Cameron McCormack <cam@mcc.id.au>
- Cc: public-script-coord@w3.org
Le mardi 31 mai 2011 à 02:42 +0000, bugzilla@jessica.w3.org a écrit : > --- Comment #42 from Cameron McCormack <cam@mcc.id.au> 2011-05-31 02:42:02 UTC --- > I've added the comment 40 proposal to the spec and allowed default values to be > specified for dictionary members: > > http://dev.w3.org/2006/webapi/WebIDL/#idl-dictionaries > http://dev.w3.org/2006/webapi/WebIDL/#idl-dictionary > http://dev.w3.org/2006/webapi/WebIDL/#es-dictionary A few more changes that I think are needed: * in 3.3.3, "The identifier of an argument is given by the identifier terminal in the Argument, and the type of the argument is given by the Type. If the Type is a scoped name, then it MUST resolve [...] to an interface or typedef." this should reference also dictionaries presumably * likewise, I think 3.8.15 should reference dictionaries as possible resolution of type names * in 3.4, "Dictionaries MUST NOT be used as the type of an attribute, constant or exception field" - Can dictionaries be used as the type of a dictionary member? - Can I use arrays of dictionaries in either of these positions? - Is it that Dictionary can only be used as part of operation arguments (and if so, shouldn't it be stated as such)? Dom
Received on Tuesday, 31 May 2011 11:20:00 UTC