rem: gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory); 
add: gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;2"].getService(Components.interfaces.nsIBrowserHistory); 
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)            return true;        case "cmd_deleteByDomain":            if (!gGlobalHistory)                gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);            gGlobalHistory.removePagesFromHost(gLastDomain, true)            return true;        default:            return false;        }    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/ba20ce208a31cbf0b5062f7de37ad0a110628a4b/history.js/clean/xpfe/components/history/resources/history.js