rem: outliner.setAttribute("ref", "NC:HistoryByDate"); 
add: tree.setAttribute("ref", "NC:HistoryByDate"); 
context: function GroupBy(groupingType){    var outliner = document.getElementById("historyOutliner");    switch(groupingType) {    case "none":        outliner.setAttribute("ref", "NC:HistoryRoot");        break;    case "site":        // xxx for now        outliner.setAttribute("ref", "NC:HistoryByDate");        break;    case "day":    default:        outliner.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/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/history.js/buggy/xpfe/components/history/resources/history.js