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

On 12/6/2012 12:59 PM, Rick Byers wrote:
> Since the goal for the V1 spec is interoperability, I'd vote for 
> changing the spec and adding this form to the Gecko implementation - 
> but I don't know what that means for the spec (do we have to go back 
> to WD?).  I filed https://www.w3.org/2010/webevents/track/issues/27 to 
> track.
Yes, I think we would have to go back to WD.  I agree that correcting 
the spec (and Gecko) to match WebKit is the right thing to do, as long 
as we think it's worth the effort.

For what it's worth, when we were considering changing 
createTouch/createTouchList for Touch Events v2, we were not able to 
find any uses in the wild (outside of test code).  We also planned at 
one point to drop these methods in v2 and replace them with DOM4-style 
constructors.  But for now, having an interoperable createTouchList 
would definitely be beneficial for use cases like automated testing 
(especially since the v2 work is abandoned).

Received on Thursday, 6 December 2012 22:05:56 UTC