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