summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_key_scroll.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/test/mochitest/helper_key_scroll.html')
-rw-r--r--gfx/layers/apz/test/mochitest/helper_key_scroll.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/layers/apz/test/mochitest/helper_key_scroll.html b/gfx/layers/apz/test/mochitest/helper_key_scroll.html
index 021e2803b7..4f574abd10 100644
--- a/gfx/layers/apz/test/mochitest/helper_key_scroll.html
+++ b/gfx/layers/apz/test/mochitest/helper_key_scroll.html
@@ -32,7 +32,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1383365
// page. This scroll is done synchronously because APZ doesn't have
// current focus state at page load.
let scrollBottomPromise = new Promise(resolve => {
- let checkBottom = function(e) {
+ let checkBottom = function() {
if (window.scrollY < window.scrollMaxY) {
return;
}
@@ -63,7 +63,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1383365
// This scroll should be asynchronous now that the focus state is up to date.
let scrollTopPromise = new Promise(resolve => {
- let checkTop = function(e) {
+ let checkTop = function() {
if (window.scrollY > 0) {
return;
}