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.  :(

Received on Thursday, 6 December 2012 20:45:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:55 UTC