rem: dump("Updating cmd_deleteByHostname..\n"); 
context:     isCommandEnabled: function(command)    {        var enabled = false;        var stringId;        var text;        switch(command) {        case "cmd_deleteByHostname":            dump("Updating cmd_deleteByHostname..\n");            if (gLastHostname) {                stringId = "deleteHost";                enabled = true;            } else {                stringId = "deleteHostNoSelection";            }            text =                gHistoryBundle.stringBundle.formatStringFromName(stringId,                                                                 [ gLastHostname ], 1);            dump("Setting value to " + text + "\n");            gDeleteByHostname.setAttribute("value", text);                        break;        case "cmd_deleteByDomain":            if (gLastDomain) {                stringId = "deleteDomain";                enabled = true;            } else {                stringId = "deleteDomainNoSelection";            }            text = gHistoryBundle.stringBundle.formatStringFromName(stringId,                                                                    [ gLastDomain ], 1);            gDeleteByDomain.setAttribute("value", text);        }        return enabled;    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/177ee807509519dd2909ce8bf15f614c5413d3cc/history.js/clean/xpfe/components/history/resources/history.js