From ca2ed756b9f03a75a49a4a3016668f7297357055 Mon Sep 17 00:00:00 2001 From: Jeff Walden Date: Sun, 23 Jan 2011 00:12:05 -0800 Subject: [PATCH] Another round of orange fixes, sigh. r=orange yet again --- browser/base/content/syncSetup.js | 4 ++-- browser/fuel/src/fuelApplication.js | 6 +++--- docshell/test/chrome/bug449778_window.xul | 4 ++-- docshell/test/chrome/bug449780_window.xul | 4 ++-- .../base/tests/chrome/chrome_content_integration_window.xul | 4 ++-- layout/base/tests/chrome/chrome_over_plugin_window.xul | 4 ++-- layout/base/tests/chrome/default_background_window.xul | 4 ++-- layout/style/test/chrome/hover_helper.html | 4 ++-- testing/mochitest/browser-harness.xul | 4 ++-- toolkit/content/tests/chrome/bug263683_window.xul | 4 ++-- toolkit/content/tests/chrome/bug331215_window.xul | 4 ++-- toolkit/content/tests/chrome/bug451286_window.xul | 4 ++-- toolkit/content/tests/chrome/bug451540_window.xul | 4 ++-- 13 files changed, 27 insertions(+), 27 deletions(-) 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 @@