rem: var uri = Components.classes["@mozilla.org/network/io-service;1"] .getService(Ci.nsIIOService) .newURI(node.uri, null, null); PlacesController.showAddBookmarkUI(uri, node.title); 
add: PlacesUtils.showAddBookmarkUI(PlacesUtils._uri(node.uri), node.title); 
context: function historyAddBookmarks(){   // no need to check gHistoryTree.view.selection.count  // node will be null if there is a multiple selection   // or if the selected item is not a URI node  var node = gHistoryTree.selectedURINode;  if (!node)     return;  #ifdef MOZ_PLACES_BOOKMARKS  var uri = Components.classes["@mozilla.org/network/io-service;1"]                      .getService(Ci.nsIIOService)                      .newURI(node.uri, null, null);  PlacesController.showAddBookmarkUI(uri, node.title);#else  BookmarksUtils.addBookmark(node.uri, node.title, undefined);#endif}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fdd12e4a310ab9bb61b232c7e22621fc74e50fa6/history-panel.js/clean/browser/components/places/content/history-panel.js