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

On 9/10/12 6:36 PM, Arun Ranganathan wrote:
> 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.

Sequence allows any WebIDL type as a sequence element.

So for example, you can do this:

   sequence<(sequence<(DOMString or Element or ArrayBufferView)> or
             DOMString)>

Not that you should do such a thing.  ;)

-Boris

Received on Monday, 10 September 2012 22:49:48 UTC