From 78936e95e486a3c524b90443cc69938456afd2b5 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Mon, 16 Nov 2020 21:18:36 +0000 Subject: [PATCH] Bug 1645433 - Add a test. r=botond Differential Revision: https://phabricator.services.mozilla.com/D96077 --- .../mochitest/browser_test_group_fission.js | 3 +- ..._fission_inactivescroller_under_oopif.html | 88 +++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 gfx/layers/apz/test/mochitest/helper_fission_inactivescroller_under_oopif.html diff --git a/gfx/layers/apz/test/mochitest/browser_test_group_fission.js b/gfx/layers/apz/test/mochitest/browser_test_group_fission.js index 202baacdfd19..60b5bf94ae48 100644 --- a/gfx/layers/apz/test/mochitest/browser_test_group_fission.js +++ b/gfx/layers/apz/test/mochitest/browser_test_group_fission.js @@ -50,11 +50,12 @@ add_task(async function test_main() { file: "helper_fission_tap.html", prefs: [["apz.max_tap_time", 10000]], }, + { file: "helper_fission_inactivescroller_under_oopif.html" }, // add additional tests here ]; if (isWebRender) { subtests = subtests.concat([ - // add additional WebRender-specific tests here + // add WebRender-specific tests here ]); } else { subtests = subtests.concat([ diff --git a/gfx/layers/apz/test/mochitest/helper_fission_inactivescroller_under_oopif.html b/gfx/layers/apz/test/mochitest/helper_fission_inactivescroller_under_oopif.html new file mode 100644 index 000000000000..c3099f52ef8f --- /dev/null +++ b/gfx/layers/apz/test/mochitest/helper_fission_inactivescroller_under_oopif.html @@ -0,0 +1,88 @@ + + + + + Ensure inactive scollframes under OOPIFs hit-test properly + + + + + + + + + +
+
inside scroller
+
+ + +