- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 10 Sep 2012 18:49:17 -0400
- To: Arun Ranganathan <arun@mozilla.com>
- CC: Glenn Maynard <glenn@zewt.org>, public-webapps@w3.org
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