-
Bug
-
Resolution: Done
-
Major
-
4.3.0.CR1
-
None
-
Workaround Exists
-
1. Create HTML page with this content:
<!DOCTYPE html> <html> <head> <title>sample</title> <script type="text/javascript"> function window_onload() { document.getElementById('touchable').addEventListener('touchstart', function(ev) { alert('touchstart')}, false); document.getElementById('touchable').addEventListener('touchend', function(ev) { alert('touchend')}, false); document.getElementById('touchable').addEventListener('touchmove', function(ev) { alert('touchmove')}, false); } </script> </head> <body onload='window_onload();'> <div id='touchable'>This element is touchable.</div> </body> </html>
2. Open this page in BrowserSim
3. Enable touch events for BrowserSim
4. Click somewhere within the page in BrowserSim
ERROR:
!JavaScript WARN: Converting `ontouchstart` property to event listener. !JavaScript ERROR: TypeError: Unable to delete property. on line 118 for file:///.../jboss-touchevents/src/main/webapp/index.html !JavaScript WARN: Converting `ontouchend` property to event listener. !JavaScript ERROR: TypeError: Unable to delete property. on line 118 for file:///.../jboss-touchevents/src/main/webapp/index.html
- is cloned by
-
JBIDE-21178 [CLONE]Touch events for BrowserSim are not set properly
- Closed