rem: var url = getWebNavigation().currentURI.spec 
add: var url = content.document.documentURI; 
context: function HandleBookmarkIcon(iconURL, addFlag){  var url = getWebNavigation().currentURI.spec  if (url) {    // update URL with new icon reference    if (!gBookmarksService)      gBookmarksService = Components.classes["@mozilla.org/browser/bookmarks-service;1"]                                    .getService(Components.interfaces.nsIBookmarksService);    if (addFlag)    gBookmarksService.updateBookmarkIcon(url, iconURL);    else            gBookmarksService.removeBookmarkIcon(url, iconURL);  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/1ccfc806bffe1f3edb586cc122c4e13ae94239fc/navigator.js/buggy/xpfe/browser/resources/content/navigator.js