rem: var command = "cmd_cleanUp"; var enabled = this.isCommandEnabled(command); goSetCommandEnabled(command, enabled); } 
add: var downloadsCommands = document.getElementById("downloadsCommands"); for (var i = 0; i < downloadsCommands.childNodes.length; ++i) this.updateCommand(downloadsCommands.childNodes[i]); }, 
context:   onCommandUpdate: function ()  {    var command = "cmd_cleanUp";    var enabled = this.isCommandEnabled(command);    goSetCommandEnabled(command, enabled);  }
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/a1584e4fdb4e43cf0a4e6b90d9625d12ca4aa99a/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js