Can we use sendNativeTouchPoint() on platforms where APZ is not enabled?

BTW, I just realize that I can use nsIDOMWindowUtils APIs as follows to
simulate a long-tap to select a word in marionette test on desktop with the
needed modification to nsContentUtils::SendMouseEvent() to support
'mouselongtap'.

sendTouchEvent('touchstart', ...)
sendMouseEvent('mouselongtap', ...)
sendTouchEvent('touchend', ...)

Ting-Yu
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to