rem: gPrefService.SetCharPref("browser.history.grouping", groupingType); 
add: gPrefService.setCharPref("browser.history.grouping", groupingType); 
context: function GroupBy(groupingType){    var outlinerBody = document.getElementById("historyOutlinerBody");    switch(groupingType) {    case "day":        outlinerBody.setAttribute("ref", "NC:HistoryByDate");        break;    case "site":        outlinerBody.setAttribute("ref", "find:groupby=hostname");        break;    case "none":        outlinerBody.setAttribute("ref", "NC:HistoryRoot");        break;    }    gPrefService.SetCharPref("browser.history.grouping", groupingType);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/faf03ce445712b372523f881cc3144cfadc7a611/history.js/buggy/xpfe/components/history/resources/history.js