rem: tree.setAttribute("ref", "NC:HistoryRoot"); 
add: gHistoryTree.setAttribute("ref", "NC:HistoryRoot"); 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9c02ed0362b9eb8b68b68d02e8883c4e1c3b52a8/history.js/clean/browser/components/history/content/history.js