rem: if (gUpdates.sourceEvent == SRCEVT_BACKGROUND) this.onShowMoreDetails(); 
add:   this.onShowMoreDetails();  try { gUpdates.update.getProperty("licenseAccepted"); } catch (e) { gUpdates.update.setProperty("licenseAccepted", "false"); } 
context:   onPageShow: function() {    var updateName = gUpdates.strings.getFormattedString("updateName",       [gUpdates.brandName, gUpdates.update.version]);    var updateNameElement = document.getElementById("updateName");    updateNameElement.value = updateName;    var displayType = gUpdates.strings.getString("updateType_" + gUpdates.update.type);    var updateTypeElement = document.getElementById("updateType");    updateTypeElement.setAttribute("type", gUpdates.update.type);    var intro = gUpdates.strings.getFormattedString(      "introType_" + gUpdates.update.type, [gUpdates.brandName]);    while (updateTypeElement.hasChildNodes())      updateTypeElement.removeChild(updateTypeElement.firstChild);    updateTypeElement.appendChild(document.createTextNode(intro));        var updateMoreInfoURL = document.getElementById("updateMoreInfoURL");    updateMoreInfoURL.href = gUpdates.update.detailsURL;        var em = Components.classes["@mozilla.org/extensions/manager;1"]                       .getService(Components.interfaces.nsIExtensionManager);    var items = em.getIncompatibleItemList("", gUpdates.update.version,                                           nsIUpdateItem.TYPE_ADDON, { });    if (items.length > 0) {      // There are addons that are incompatible with this update, so show the       // warning message.      var incompatibleWarning = document.getElementById("incompatibleWarning");      incompatibleWarning.hidden = false;            this._incompatibleItems = items;    }        // If we were invoked from a background update check, automatically show     // the additional details the user may need to make this decision since     // they did not consciously make the decision to check.     if (gUpdates.sourceEvent == SRCEVT_BACKGROUND)      this.onShowMoreDetails();        var downloadNow = document.getElementById("downloadNow");    downloadNow.focus();  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/304cbe853b4ea51a95b2815c55ef9d2a50c0dffb/updates.js/buggy/toolkit/mozapps/update/content/updates.js