Bug 1829967 - Make the content response and the condition whether to fire a touchcanc...
commit7b5d4eb27f637948b9ba849d3bcb53ac8cc4e96e
authorHiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Thu, 15 Jun 2023 11:43:44 +0000 (15 11:43 +0000)
committerHiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Thu, 15 Jun 2023 11:43:44 +0000 (15 11:43 +0000)
tree98b01e7589f85b21b994c603c480ddf56c2eb1f9
parent84694d94e2d75fccff2c5ab61dd3374acf65d895
Bug 1829967 - Make the content response and the condition whether to fire a touchcancel event in ProcessLongTap independent from mouselongtap event results. r=TYLin,botond

`mouselongtap` events are internally used for accessible caret on desktops.
Whether to fire a touchcancel event here should just depend on whether a context
menu opens or not.

Differential Revision: https://phabricator.services.mozilla.com/D180636
gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js
gfx/layers/apz/test/mochitest/helper_tap_default_passive.html
gfx/layers/apz/util/APZEventState.cpp