rem: var url = gHistoryTree.treeBoxObject.view.getCellText(currentIndex, "URL"); 
add: var builder = gHistoryTree.builder.QueryInterface(Components.interfaces.nsIXULTreeBuilder); var url = builder.getResourceAtIndex(currentIndex).Value;   
context: function historyAddBookmarks(){  var count = gHistoryTree.treeBoxObject.view.selection.count;  if (count != 1)    return;    var currentIndex = gHistoryTree.currentIndex;  var url = gHistoryTree.treeBoxObject.view.getCellText(currentIndex, "URL");  var title = gHistoryTree.treeBoxObject.view.getCellText(currentIndex, "Name");  BookmarksUtils.addBookmark(url, title, undefined);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b5d6a761d0707cdd38de8845e56a1108c4c2c9a4/history.js/clean/browser/components/history/content/history.js