rem: gExtensionsView.setAttribute("update-check", "true"); var command = document.getElementById("cmd_update"); command.setAttribute("disabled", "true"); command = document.getElementById("cmd_update_all"); command.setAttribute("disabled", "true"); 
add: gExtensionsView.setAttribute("update-operation", "checking"); gExtensionsViewController.onCommandUpdate(); updateGlobalCommands(); this._totalCount = gExtensionsView.children.length; 
context:   onUpdateStarted: function() {    gExtensionsView.setAttribute("update-check", "true");    var command = document.getElementById("cmd_update");    command.setAttribute("disabled", "true");    command = document.getElementById("cmd_update_all");    command.setAttribute("disabled", "true");  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e70cc1872d3fa7a9c82c261be41c9d7d67b9d270/extensions.js/buggy/toolkit/mozapps/extensions/content/extensions.js