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

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 UTC