- From: Cameron McCormack <cam@mcc.id.au>
- Date: Fri, 22 Jun 2012 15:49:02 +1000
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- CC: public-script-coord@w3.org
Cameron McCormack: >> Because dictionaries are meant to be "pass by value" types, like >> sequences. Because you would be returning a plain JS object – and a new >> one each time at that – it wouldn't be suitable for use as an attribute >> type. Boris Zbarsky: > I see. It's perhaps worth having an informative note in the spec to > this effect.... I've mentioned this now with wording like I have in #idl-sequence: http://dev.w3.org/2006/webapi/WebIDL/#idl-dictionaries http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.539;r2=1.540;f=h
Received on Friday, 22 June 2012 05:49:36 UTC