Backed out changeset f79edc3888e5 (bug 1297867) for mass test failures. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 23 Dec 2016 18:46:59 +0100
changeset 453570 8e6a515461cb2f8f8e8f567739ea9794533f0ba9
parent 453569 88b62488ca303fea0b7ceebc04e5a59c138ebafe
child 453571 c718681647c73a4999035b0cef1a4f90f553c869
push id39711
push userdmitchell@mozilla.com
push dateFri, 23 Dec 2016 21:59:47 +0000
reviewersbackout
bugs1297867
milestone53.0a1
backs outf79edc3888e5ce7647fd259cbceb6e806df2a715
Backed out changeset f79edc3888e5 (bug 1297867) for mass test failures. r=backout
toolkit/content/browser-content.js
--- a/toolkit/content/browser-content.js
+++ b/toolkit/content/browser-content.js
@@ -1763,18 +1763,18 @@ let DateTimePickerListener = {
 DateTimePickerListener.init();
 
 /*
  * Telemetry probe to track the amount of scrolling a user does up and down the root frame
  * of a page, and also the maximum distance a user scrolls down the root frame of a page.
  * This doesn't include scrolling sub frames, but does include scrolling from JavaScript.
  * See bug 1312881 and bug 1297867 for more details.
  */
-addEventListener("DOMWindowCreated", function(aEvent) {
-  if (aEvent.target !== content.document ||
+addEventListener("DOMWindowCreated", function() {
+  if (event.target !== content.document ||
       content.location == "" ||
       content.location.protocol === "about:") {
     return;
   }
 
   let amountHistogram = Services.telemetry.getHistogramById("TOTAL_SCROLL_Y");
   let maxHistogram = Services.telemetry.getHistogramById("PAGE_MAX_SCROLL_Y");