Bug 1829967 - Fire a touchcanel event when a context menu opens rather than the conte...
commitc63d8628e437e6c720ca207600cc08ef6d6b764c
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)
treec67103060a706053841efd5ca66c367e7d570615
parent7b5d4eb27f637948b9ba849d3bcb53ac8cc4e96e
Bug 1829967 - Fire a touchcanel event when a context menu opens rather than the context menu doesn't open. r=botond

The modified test, helper_long_tap.html, is mostly now same as the Android one.
A difference is on the Linux/Mac version we observe a mouselongtap event after a
contextmenu event wasn't preventDefaulted.

Depends on D180636

Differential Revision: https://phabricator.services.mozilla.com/D180637
gfx/layers/apz/test/mochitest/helper_long_tap.html
gfx/layers/apz/util/APZEventState.cpp