Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323124

Summary: Create fixture to fake mobile-webkits touch-events.
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: tbuschto
Version: 1.4   
Target Milestone: 1.4 M2   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 323032    

Description Tim Buschtoens CLA 2010-08-19 06:53:26 EDT
Will be needed for test-driven development of ipad/iphone compatibility layer.
Comment 1 Tim Buschtoens CLA 2010-08-20 10:06:27 EDT
Fixed in CVS HEAD in MobileWebkitSupportTest.js.

Since this fixture is only used for ipad/ipod, and this is the only test for those platforms, i did not put it into TestUtil.js.
The fixture is currently able to emulate simple touch and gesture events, including the corrosponding touch und touchlist-objects. Gestures are created only when using the "gesture" function, not when creating touchEvents that would accompany a gesture-event. The other way around however, a simulated gesture also creates these touch-events. Mouse events (created by webkit if "preventDefault is not called on touch-events), are not simulated.

The fixture will be expanded upon as needed.