rem: outlinerBody.setAttribute("ref", "NC:HistoryByDate"); 
add: outliner.setAttribute("ref", "NC:HistoryByDate"); 
context: function GroupBy(groupingType){    var outlinerBody = document.getElementById("historyOutlinerBody");    switch(groupingType) {    case "none":        outlinerBody.setAttribute("ref", "NC:HistoryRoot");        break;    case "site":        // xxx for now        outlinerBody.setAttribute("ref", "NC:HistoryByDate");        break;    case "day":    default:        outlinerBody.setAttribute("ref", "NC:HistoryByDate");        break;    }    gPrefService.setCharPref("browser.history.grouping", groupingType);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e4a45365d3baddbd184b4e98a70b7d6b02c874f5/history.js/buggy/suite/common/history/history.js