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

WebEvents-ISSUE-25: createTouchList should probably take a sequence, not an IDL array [Touch Events v2 spec]

From: Web Events Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Wed, 28 Nov 2012 12:39:41 +0000
Message-Id: <E1TdgvV-0005Cc-Tp@tibor.w3.org>
To: public-webevents@w3.org
WebEvents-ISSUE-25: createTouchList should probably take a sequence, not  an IDL array [Touch Events v2 spec]

http://www.w3.org/2010/webevents/track/issues/25

Raised by: Arthur Barstow
On product: Touch Events v2 spec

>From Boris Zabarsky on 27-Nov-2012 <http://lists.w3.org/Archives/Public/public-webevents/2012OctDec/0029.html>.

-------- Original Message --------
Subject: 	[Touch events] createTouchList should probably take a sequence, not an IDL array
Resent-Date: 	Wed, 28 Nov 2012 05:10:49 +0000
Resent-From: 	<public-webevents@w3.org>
Date: 	Wed, 28 Nov 2012 00:10:03 -0500
From: 	ext Boris Zbarsky <bzbarsky@MIT.EDU>
To: 	<public-webevents@w3.org>


The IDL for createTouchList [1] looks like this:

    TouchList createTouchList (Touch[] touches);

This should probably be:

    TouchList createTouchList(sequence<Touch> touches);

instead, since the callee doesn't actually hold on to the list of 
touches by reference.

-Boris
Received on Wednesday, 28 November 2012 12:39:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 November 2012 12:39:43 GMT