rem: onUpdatePageReport: function () 
add: onUpdatePageReport: function (aEvent) 
context:   onUpdatePageReport: function ()  {    if (!this._reportButton)      this._reportButton = document.getElementById("page-report-button");    if (!gBrowser.pageReport) {      // Hide the popup blocker statusbar button      this._reportButton.removeAttribute("blocked");      return;    }    this._reportButton.setAttribute("blocked", true);    // Only show the notification again if we've not already shown it. Since    // notifications are per-browser, we don't need to worry about re-adding    // it.    if (!gBrowser.pageReport.reported) {      if (!gPrefService)        gPrefService = Components.classes["@mozilla.org/preferences-service;1"]                                 .getService(Components.interfaces.nsIPrefBranch2);      if (gPrefService.getBoolPref("privacy.popups.showBrowserMessage")) {        var bundle_browser = document.getElementById("bundle_browser");        var brandBundle = document.getElementById("bundle_brand");        var brandShortName = brandBundle.getString("brandShortName");        var message;        var popupCount = gBrowser.pageReport.length;#ifdef XP_WIN        var popupButtonText = bundle_browser.getString("popupWarningButton");        var popupButtonAccesskey = bundle_browser.getString("popupWarningButton.accesskey");#else        var popupButtonText = bundle_browser.getString("popupWarningButtonUnix");        var popupButtonAccesskey = bundle_browser.getString("popupWarningButtonUnix.accesskey");#endif        if (popupCount > 1)          message = bundle_browser.getFormattedString("popupWarningMultiple", [brandShortName, popupCount]);        else          message = bundle_browser.getFormattedString("popupWarning", [brandShortName]);        var notificationBox = gBrowser.getNotificationBox();        var notification = notificationBox.getNotificationWithValue("popup-blocked");        if (notification) {          notification.label = message;        }        else {          var buttons = [{            label: popupButtonText,            accessKey: popupButtonAccesskey,            popup: "blockedPopupOptions",            callback: null          }];          const priority = notificationBox.PRIORITY_WARNING_MEDIUM;          notificationBox.appendNotification(message, "popup-blocked",                                             "chrome://browser/skin/Info.png",                                             priority, buttons);        }      }      // Record the fact that we've reported this blocked popup, so we don't      // show it again.      gBrowser.pageReport.reported = true;    }  },
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/8f7bec57fe1f715d7181f8b39309c75915ac79ee/browser.js/buggy/browser/base/content/browser.js