Bug 97418 - document.createTouchList should support taking an array of Touch objects
Summary: document.createTouchList should support taking an array of Touch objects
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Event Handling (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rick Byers
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2012-09-23 19:01 PDT by Rick Byers
Modified: 2013-02-08 04:54 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Byers 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.
Comment 1 Rick Byers 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.