Bug 1337458, fix event reference in autoscroll mousewheel handling, r=felipe
authorNeil Deakin <neil@mozilla.com>
Wed, 08 Feb 2017 11:16:12 -0500
changeset 390467 168f923ea6e7e76eb2cb587cd47161a77ca1bcd6
parent 390466 6a43afeeced35151314142528d28e33f5f9aa657
child 390468 99c66e67c00eb91b2cd8f556013dd01ebfd37689
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfelipe
bugs1337458
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1337458, fix event reference in autoscroll mousewheel handling, r=felipe
toolkit/content/widgets/browser.xml
--- a/toolkit/content/widgets/browser.xml
+++ b/toolkit/content/widgets/browser.xml
@@ -1252,17 +1252,17 @@
                   // and middlemouse paste don't interact well. See bug 1188536.
                   setTimeout(() => this._autoScrollPopup.hidePopup(), 0);
                 }
                 this._ignoreMouseEvents = false;
                 break;
               }
               case "DOMMouseScroll": {
                 this._autoScrollPopup.hidePopup();
-                event.preventDefault();
+                aEvent.preventDefault();
                 break;
               }
               case "popuphidden": {
                 this._autoScrollPopup.removeEventListener("popuphidden", this, true);
                 this.stopScroll();
                 break;
               }
               case "keydown": {