Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323124 - Create fixture to fake mobile-webkits touch-events.
Summary: Create fixture to fake mobile-webkits touch-events.
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.4 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 323032
  Show dependency tree
 
Reported: 2010-08-19 06:53 EDT by Tim Buschtoens CLA
Modified: 2010-08-20 10:06 EDT (History)
1 user (show)

See Also:


Attachments

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