Bug 1776843 Comment 8 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Makoto Kato [:m_kato] from comment #7)
> `nsIDOMWindowUtils.getLastOverWindowMouseLocationInCSSPixels` records real mouse event only, so we cannot use it on parent process even if Android.  Child process can receive converted mouse event from touch event, it works well on child process only.

Makoto: do you mean `nsIDOMWindowUtils.getLastOverWindowMouseLocationInCSSPixels` provides no touch position if called from the parent process, but it does provide a touch position if called from the child process? If so, I don't understand why [manual test on Ubuntu 22](https://bugzilla.mozilla.org/show_bug.cgi?id=1776843#c4) worked.
(In reply to Makoto Kato [:m_kato] from comment #7)
> `nsIDOMWindowUtils.getLastOverWindowMouseLocationInCSSPixels` records real mouse event only, so we cannot use it on parent process even if Android.  Child process can receive converted mouse event from touch event, it works well on child process only.

Makoto: do you mean `nsIDOMWindowUtils.getLastOverWindowMouseLocationInCSSPixels` provides no touch position if called from the parent process, but it does provide a touch position if called from the child process? If so, I don't understand why the [manual test on Ubuntu 22](https://bugzilla.mozilla.org/show_bug.cgi?id=1776843#c4) worked.

Back to Bug 1776843 Comment 8