From c6b8e50b3161f3fca22dc6423d29a0b9c9f8e80f Mon Sep 17 00:00:00 2001 From: Botond Ballo Date: Thu, 8 Nov 2018 22:24:56 +0000 Subject: [PATCH] Bug 1496864 - Target the inside of the button rather than the edge in helper_fixed_position_scroll_hittest.html. r=kats Differential Revision: https://phabricator.services.mozilla.com/D11231 --HG-- extra : moz-landing-system : lando --- .../test/mochitest/helper_fixed_position_scroll_hittest.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/layers/apz/test/mochitest/helper_fixed_position_scroll_hittest.html b/gfx/layers/apz/test/mochitest/helper_fixed_position_scroll_hittest.html index 4945c2bcc70a..9066e5594df0 100644 --- a/gfx/layers/apz/test/mochitest/helper_fixed_position_scroll_hittest.html +++ b/gfx/layers/apz/test/mochitest/helper_fixed_position_scroll_hittest.html @@ -40,7 +40,7 @@ // decreases the rate of intermittents that we see. We should figure out // why and/or rewrite this test entirely. SpecialPowers.Services.obs.addObserver(testDriver, "mouseevent"); - yield synthesizeNativeClick(input, 0, 0, testDriver); + yield synthesizeNativeClick(input, 10, 10, testDriver); SpecialPowers.Services.obs.removeObserver(testDriver, "mouseevent", false); } window.addEventListener("click", (e) => {