rem: outliner.setAttribute("ref", "NC:HistoryRoot"); 
add: tree.setAttribute("ref", "NC:HistoryRoot"); 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a376ddc0531725ad80728692bef9c8ab8b17636c/history.js/buggy/suite/common/history/history.js