Bug 97418 - document.createTouchList should support taking an array of Touch objects
: document.createTouchList should support taking an array of Touch objects
Status: RESOLVED WONTFIX
: WebKit
Event Handling
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To:
:
: WebExposed
:
:
  Show dependency treegraph
 
Reported: 2012-09-23 19:01 PST by
Modified: 2013-02-08 04:54 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-09-23 19:01:25 PST
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.
------- Comment #1 From 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.