rem: var url = rowIsContainer ? gHistoryTree.treeBoxObject.view.getCellText(currentIndex, "URL") : null; 
add: var url = rowIsContainer ? "" : gHistoryTree.treeBoxObject.view.getCellText(currentIndex, "URL"); 
context: function historyOnSelect(){    // every time selection changes, save the last hostname    gLastHostname = "";    gLastDomain = "";    var match;    var currentIndex = gHistoryTree.currentIndex;    var rowIsContainer = gHistoryGrouping != "none" && currentIndex >= 0 && isContainer(gHistoryTree, currentIndex);    var url = rowIsContainer ? gHistoryTree.treeBoxObject.view.getCellText(currentIndex, "URL") : null;    if (url) {        // matches scheme://(hostname)...        match = url.match(/^.*?:\/\/(?:([^\/:]*)(?::([^\/:]*))?@)?([^\/:]*)(?::([^\/:]*))?(.*)$/);        if (match && match.length>1)            gLastHostname = match[3];              gHistoryStatus.label = url;    }    else {        gHistoryStatus.label = "";    }    if (gLastHostname) {        // matches the last foo.bar in foo.bar or baz.foo.bar        match = gLastHostname.match(/([^.]+\.[^.]+$)/);        if (match)            gLastDomain = match[1];    }    document.commandDispatcher.updateCommands("select");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c17702b3da30e195b17f71efdeef95e4b01c8206/history.js/buggy/xpfe/components/history/resources/history.js