diff --git a/browser/base/content/syncSetup.js b/browser/base/content/syncSetup.js index 8fdf68d94f09..7d3794459815 100644 --- a/browser/base/content/syncSetup.js +++ b/browser/base/content/syncSetup.js @@ -880,9 +880,9 @@ var gSyncSetup = { // if no property string is passed in, we clear label/style _setFeedback: function (element, success, string) { element.hidden = success || !string; - let class = success ? "success" : "error"; + let classname = success ? "success" : "error"; let image = element.getElementsByAttribute("class", "statusIcon")[0]; - image.setAttribute("status", class); + image.setAttribute("status", classname); let label = element.getElementsByAttribute("class", "status")[0]; label.value = string; }, diff --git a/browser/fuel/src/fuelApplication.js b/browser/fuel/src/fuelApplication.js index d64035f908cc..6310af5501b5 100644 --- a/browser/fuel/src/fuelApplication.js +++ b/browser/fuel/src/fuelApplication.js @@ -703,10 +703,10 @@ Application.prototype = { get windows() { var win = []; - var enum = Utilities.windowMediator.getEnumerator("navigator:browser"); + var browserEnum = Utilities.windowMediator.getEnumerator("navigator:browser"); - while (enum.hasMoreElements()) - win.push(new Window(enum.getNext())); + while (browserEnum.hasMoreElements()) + win.push(new Window(browserEnum.getNext())); return win; }, diff --git a/docshell/test/chrome/bug449778_window.xul b/docshell/test/chrome/bug449778_window.xul index 3873f5a25873..dd311997ecd2 100644 --- a/docshell/test/chrome/bug449778_window.xul +++ b/docshell/test/chrome/bug449778_window.xul @@ -9,8 +9,8 @@