Bug 1234398 - declare |item|. r=dolske
authorJesse Ruderman <jruderman@gmail.com>
Mon, 21 Dec 2015 17:46:58 -0800
changeset 277217 0aa57628af27b14d6bba905d087498f2907302dc
parent 277216 84169b40100b4248f0cbdfbd0e42e27e358d5e80
child 277218 080ba4f54286a0b75bb5611f25b427b4af6cdb2d
push id69418
push userjruderman@mozilla.com
push dateTue, 22 Dec 2015 01:47:40 +0000
treeherdermozilla-inbound@0aa57628af27 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske
bugs1234398
milestone46.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 1234398 - declare |item|. r=dolske
browser/modules/BrowserUITelemetry.jsm
--- a/browser/modules/BrowserUITelemetry.jsm
+++ b/browser/modules/BrowserUITelemetry.jsm
@@ -530,17 +530,17 @@ this.BrowserUITelemetry = {
       }
     }
 
     // Now go through the items in the palette to see what default
     // items are in there.
     let paletteItems =
       CustomizableUI.getUnusedWidgets(aWindow.gNavToolbox.palette);
     let defaultRemoved = [];
-    for (item of paletteItems) {
+    for (let item of paletteItems) {
       if (DEFAULT_ITEMS.indexOf(item.id) != -1) {
         defaultRemoved.push(item.id);
       }
     }
 
     result.defaultKept = defaultKept;
     result.defaultMoved = defaultMoved;
     result.nondefaultAdded = nondefaultAdded;