Bug 715465 - Extraneous reportError in preferences/advanced.js
authorMarco Bonardo <mbonardo@mozilla.com>
Thu, 05 Jan 2012 12:50:16 +0100
changeset 83854 511078d51f7196339b6de3a5ae80d9b05f76ea81
parent 83853 3c970a5c173cbd73631c147cbe1b3fe66c300874
child 83855 05fff11a2781a2b837efe8d66f31cafd3d7ec23d
child 83917 595fba5b92d4eadc3af82a9f4ecfaadfc1d7422b
push id4604
push usermak77@bonardo.net
push dateThu, 05 Jan 2012 11:50:55 +0000
treeherdermozilla-inbound@511078d51f71 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs715465
milestone12.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 715465 - Extraneous reportError in preferences/advanced.js r=bbondy
browser/components/preferences/advanced.js
--- a/browser/components/preferences/advanced.js
+++ b/browser/components/preferences/advanced.js
@@ -532,17 +532,16 @@ var gAdvancedPane = {
     warnIncompatible.disabled = radiogroup.disabled || modePref.locked ||
                                 !enabledPref.value || !autoPref.value;
 
 #ifdef MOZ_MAINTENANCE_SERVICE
     // Check to see if the maintenance service is installed.
     // If it is don't show the preference at all.
     var installed;
     try {
-      Components.utils.reportError("0");
       var wrk = Components.classes["@mozilla.org/windows-registry-key;1"]
                 .createInstance(Components.interfaces.nsIWindowsRegKey);
       wrk.open(wrk.ROOT_KEY_LOCAL_MACHINE,
                "SOFTWARE\\Mozilla\\MaintenanceService",
                wrk.ACCESS_READ | wrk.WOW64_64);
       installed = wrk.readIntValue("Installed");
       wrk.close();
     } catch(e) {