Bug 47819 - document.createTouch does not throw anything
Summary: document.createTouch does not throw anything
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-10-18 07:16 PDT by Ben Murdoch
Modified: 2010-10-18 07:16 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ben Murdoch 2010-10-18 07:16:24 PDT
According to the documentation of the document.createTouch API at http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/DocumentAdditionsReference/DocumentAdditions/DocumentAdditions.html the document.createTouch and document.createTouchList APIs can throw a DOMException. However it is unclear after experimenting with the current iOS implementation how and when these APIs throw.

We should verify any cases that the function should throw and implement them. See FIXME in implementation of createTouch in Document.cpp.