For double-tap events on Mac [we send a double-tap gesture event directly](https://searchfox.org/mozilla-central/rev/dcf50463d3e1e1f3a91bc1406e3772b2a5f62774/widget/cocoa/nsChildView.mm#1960-1966), so if there's a previous touch event block which was prevented double-tap-zoom by specifying `touch-action: none` or some such, the new incoming doubel-tap gesture events also will be [prevented by the stale touch event block](https://searchfox.org/mozilla-central/rev/dcf50463d3e1e1f3a91bc1406e3772b2a5f62774/gfx/layers/apz/src/AsyncPanZoomController.cpp#3151-3152). One of tests I wrote for bug 1715179 added to the [last block of this subtests](https://searchfox.org/mozilla-central/rev/dcf50463d3e1e1f3a91bc1406e3772b2a5f62774/gfx/layers/apz/test/mochitest/test_group_double_tap_zoom-2.html#53) causes timeouts on [the next helper_doubletap_zoom_smooth.html?touchpad](https://searchfox.org/mozilla-central/rev/dcf50463d3e1e1f3a91bc1406e3772b2a5f62774/gfx/layers/apz/test/mochitest/test_group_double_tap_zoom-2.html#58). I believe this bug should happen in production, but I could find any bug reports, so for now I will add a workaround in the bug, that is just sending a new touch event in the new test.
Bug 1848062 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
For double-tap events on Mac [we send a double-tap gesture event directly](https://searchfox.org/mozilla-central/rev/dcf50463d3e1e1f3a91bc1406e3772b2a5f62774/widget/cocoa/nsChildView.mm#1960-1966), so if there's a previous touch event block which was prevented double-tap-zoom by specifying `touch-action: none` or some such, the new incoming doubel-tap gesture events also will be [prevented by the stale touch event block](https://searchfox.org/mozilla-central/rev/dcf50463d3e1e1f3a91bc1406e3772b2a5f62774/gfx/layers/apz/src/AsyncPanZoomController.cpp#3151-3152). One of tests I wrote for bug 1715179 added to the [last block of this subtests](https://searchfox.org/mozilla-central/rev/dcf50463d3e1e1f3a91bc1406e3772b2a5f62774/gfx/layers/apz/test/mochitest/test_group_double_tap_zoom-2.html#53) causes timeouts on [the next helper_doubletap_zoom_smooth.html?touchpad](https://searchfox.org/mozilla-central/rev/dcf50463d3e1e1f3a91bc1406e3772b2a5f62774/gfx/layers/apz/test/mochitest/test_group_double_tap_zoom-2.html#58). I believe this bug should happen in production, but I could NOT find any bug reports, so for now I will add a workaround in the bug, that is just sending a new touch event in the new test.