W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: [FileAPI] Blob constructor should probably take a sequence, not an IDL array object

From: Arun Ranganathan <arun@mozilla.com>
Date: Thu, 13 Sep 2012 15:26:42 -0400
Cc: Boris Zbarsky <bzbarsky@MIT.EDU>, Glenn Maynard <glenn@zewt.org>, public-webapps@w3.org
Message-Id: <E50ABA29-1EF2-40C1-B385-6EBB0A821C30@mozilla.com>
To: Cameron McCormack <cam@mcc.id.au>

On Sep 11, 2012, at 1:07 AM, Cameron McCormack wrote:

> Arun Ranganathan:
>> I've pinged heycam to see if this is a proper use of the sequence type.  I'm not sure it allows for such a variation in parameters.
> I agree with Boris, it makes sense to use sequence<> here.  Whenever you just want to take a list of values in an operation argument, and you don't want to keep a reference to a platform array object, you should use a sequence<>.

Done. http://dev.w3.org/2006/webapi/FileAPI/#dfn-Blob

-- A*
Received on Thursday, 13 September 2012 19:27:14 UTC

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