summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/test_touch_listeners_impacting_wheel.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /gfx/layers/apz/test/mochitest/test_touch_listeners_impacting_wheel.html
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/layers/apz/test/mochitest/test_touch_listeners_impacting_wheel.html')
-rw-r--r--gfx/layers/apz/test/mochitest/test_touch_listeners_impacting_wheel.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/layers/apz/test/mochitest/test_touch_listeners_impacting_wheel.html b/gfx/layers/apz/test/mochitest/test_touch_listeners_impacting_wheel.html
index 71147d5238..0598f1a201 100644
--- a/gfx/layers/apz/test/mochitest/test_touch_listeners_impacting_wheel.html
+++ b/gfx/layers/apz/test/mochitest/test_touch_listeners_impacting_wheel.html
@@ -27,7 +27,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1203140
const kResponseTimeoutMs = 2 * 60 * 1000; // 2 minutes
-function takeSnapshots(e) {
+function takeSnapshots() {
// Grab some snapshots, and make sure some of them are different (i.e. check
// the page is scrolling in the compositor, concurrently with this wheel
// listener running).
@@ -69,7 +69,7 @@ async function test() {
// Ensure the div is layerized by scrolling it
await promiseMoveMouseAndScrollWheelOver(box, 10, 10);
- box.addEventListener("touchstart", function(e) {
+ box.addEventListener("touchstart", function() {
ok(false, "This should never be run");
});
box.addEventListener("wheel", takeSnapshots, { capture: false, passive: true });