summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_programmatic_scroll_behavior.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/test/mochitest/helper_programmatic_scroll_behavior.html')
-rw-r--r--gfx/layers/apz/test/mochitest/helper_programmatic_scroll_behavior.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/layers/apz/test/mochitest/helper_programmatic_scroll_behavior.html b/gfx/layers/apz/test/mochitest/helper_programmatic_scroll_behavior.html
index 721ce7e538..755c4115e2 100644
--- a/gfx/layers/apz/test/mochitest/helper_programmatic_scroll_behavior.html
+++ b/gfx/layers/apz/test/mochitest/helper_programmatic_scroll_behavior.html
@@ -35,7 +35,7 @@ async function test() {
// trigger one scroll event, so a scroll event count of 1 indicates that a
// instant scroll was conducted.
let scrollCount = 0;
- window.addEventListener("scroll", (e) => {
+ window.addEventListener("scroll", () => {
scrollCount += 1;
});