rem: observe: function (aMsgObject) { const nsIScriptError = Components.interfaces.nsIScriptError; var scriptError = aMsgObject.QueryInterface(nsIScriptError); var isWarning = scriptError.flags & nsIScriptError.warningFlag != 0; if (!isWarning) { var statusbarDisplay = document.getElementById("statusbar-display"); statusbarDisplay.setAttribute("error", "true"); statusbarDisplay.addEventListener("click", loadErrorConsole, true); statusbarDisplay.value = bundle.GetStringFromName("jserror"); this.isShowingError = true; } }, 
add: observe: function (aMsgObject) { const nsIScriptError = Components.interfaces.nsIScriptError; var scriptError = aMsgObject.QueryInterface(nsIScriptError); var isWarning = scriptError.flags & nsIScriptError.warningFlag != 0; if (!isWarning) { var statusbarDisplay = document.getElementById("statusbar-display"); statusbarDisplay.setAttribute("error", "true"); statusbarDisplay.addEventListener("click", loadErrorConsole, true); statusbarDisplay.value = bundle.GetStringFromName("jserror"); this.isShowingError = true; } }, 
context:   observe: function (aMsgObject)     {      const nsIScriptError = Components.interfaces.nsIScriptError;      var scriptError = aMsgObject.QueryInterface(nsIScriptError);      var isWarning = scriptError.flags & nsIScriptError.warningFlag != 0;      if (!isWarning)         {          var statusbarDisplay = document.getElementById("statusbar-display");          statusbarDisplay.setAttribute("error", "true");          statusbarDisplay.addEventListener("click", loadErrorConsole, true);          statusbarDisplay.value = bundle.GetStringFromName("jserror");          this.isShowingError = true;        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c70c2dd2118dfb7f6483b393767fd1c4d8fad792/navigator.js/buggy/xpfe/browser/resources/content/navigator.js