Opened 9 years ago

Last modified 7 years ago

#15892 closed defect

dojox/gesture: "Uncaught TypeError: Illegal invocation" on Android devices — at Initial Version

Reported by: Adrian Vasiliu Owned by: Adam Peller
Priority: high Milestone: 1.7.7
Component: Dojox Version: 1.8.0
Keywords: Cc: bill, cjolif, ben hockey
Blocked By: Blocking:


Loading on Android devices the following test: dojox/gesture/tests/test_gesture.html the console shows many times: Uncaught TypeError?: Illegal invocation <path>/dojox/gesture/Base.js:267

The error is raised by a call to e.preventDefault()" in Base._process.

Exactly the same error hurts in demos/touch/demo.html (which uses dojox/gesture) as soon as you try to rotate the pie chart using the multi-touch gesture. Apparently as a consequence of this error, it is not possible to rotate the chart by the gesture on any Android device which is supposed to support it, such as Samsung Galaxy SIII Android 4.0.4, HTC One X Android 4.0.3.

The same exception is also raised on Android 2.2 devices, such as HTC Desire Android 2.2 (here, it is expected that the multi-touch gesture is no-op; instead, we get browser zoom, plus the exceptions).

Change History (0)

Note: See TracTickets for help on using tickets.