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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/686381521fc63982ad96721990fb37751e2271e0/history.js/buggy/suite/common/history/history.js