rem: var tree = document.getElementById("historyTree"); 
add: gHistoryGrouping = groupingType; 
context: function GroupBy(groupingType){    var tree = document.getElementById("historyTree");    switch(groupingType) {    case "none":        tree.setAttribute("ref", "NC:HistoryRoot");        break;    case "site":        // xxx for now        tree.setAttribute("ref", "NC:HistoryByDate");        break;    case "day":    default:        tree.setAttribute("ref", "NC:HistoryByDate");        break;    }    gPrefService.setCharPref("browser.history.grouping", groupingType);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b9a037e66460ded5b476c040285e63df20e5fc21/history.js/buggy/browser/components/history/content/history.js