Bug 47819

Summary: document.createTouch does not throw anything
Product: WebKit Reporter: Ben Murdoch <benm>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: steveblock
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

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.