W3C home > Mailing lists > Public > public-webevents@w3.org > October to December 2012

Re: [Touch events] createTouchList should probably take a sequence, not an IDL array

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 06 Dec 2012 15:44:45 -0500
Message-ID: <50C103BD.6020701@mit.edu>
To: Rick Byers <rbyers@google.com>
CC: Matt Brubeck <mbrubeck@mozilla.com>, Sangwhan Moon <smoon@opera.com>, Arthur Barstow <art.barstow@nokia.com>, public-webevents@w3.org
On 12/6/12 3:42 PM, Rick Byers wrote:
> According to http://www.w3.org/TR/WebIDL/#idl-operations, I believe the
> correct WebIDL would be:
> TouchList createTouchList (Touch ...touches);

Ah, ok.

Gecko doesn't implement that for sure; it only allows a single Touch or 
an array of Touch objects at the moment, not a variable number of 
arguments.  :(

-Boris
Received on Thursday, 6 December 2012 20:45:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 6 December 2012 20:45:21 GMT