Bug 97418

Summary: document.createTouchList should support taking an array of Touch objects
Product: WebKit Reporter: Rick Byers <rbyers>
Component: UI EventsAssignee: Rick Byers <rbyers>
Status: RESOLVED WONTFIX    
Severity: Normal CC: aelias, rjkroege
Priority: P2 Keywords: WebExposed
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Rick Byers
Reported 2012-09-23 19:01:25 PDT
According to the TouchEvents version 1 spec (http://www.w3.org/TR/touch-events/), document.createTouchList should support two forms: TouchList createTouchList (Touch[] touches); TouchList createTouchList (Touch touch); Instead, WebKit takes a variable number of Touch parameters (supporting only the 2nd form), not the array form. We should also add support for the Array form in order to conform to the spec.
Attachments
Rick Byers
Comment 1 2013-02-08 04:54:38 PST
The specification has been changed to match the implementation, see http://www.w3.org/2010/webevents/track/issues/27. Mozilla will continue to support the array form, but there's probably not much value in doing so in WebKit.
Note You need to log in before you can comment on or make changes to this bug.