rem: gHistoryTree.builder.rebuild(); 
context:     doCommand: function(command)    {        switch(command) {        case "cmd_deleteByHostname":            if (!gGlobalHistory)                gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);            gGlobalHistory.removePagesFromHost(gLastHostname, false)            gHistoryTree.builder.rebuild();            return true;        case "cmd_deleteByDomain":            if (!gGlobalHistory)                gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);            gGlobalHistory.removePagesFromHost(gLastDomain, true)            gHistoryTree.builder.rebuild();            return true;        default:            return false;        }    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/717feaab4a55cf603c3c58a335746d5fdbe3ba8e/history.js/buggy/xpfe/components/history/resources/history.js