rem:  var rdfCoreFound = false; var rdfCore = XPAppCoresManager.Find("RDFCore"); if (rdfCore) { rdfCoreFound = true; 
add: var shortcutURL = bmks.FindShortcut(document.getElementById('urlbar').value);  dump("FindShortcut: in='" + document.getElementById('urlbar').value + "'  out='" + shortcutURL + "'\n");  if ((shortcutURL != null) && (shortcutURL != "")) { document.getElementById('urlbar').value = shortcutURL; } 
context:   function BrowserLoadURL()  {	if (appCore == null)	{		dump("BrowserAppCore has not been initialized\n");		return;	}	// rjc: added support for URL shortcuts (3/30/1999)	// get RDF Core service	var rdfCoreFound = false;	var rdfCore = XPAppCoresManager.Find("RDFCore");	if (rdfCore)	{		rdfCoreFound = true;	}	else	{		rdfCore = new RDFCore();		if (rdfCore)		{			rdfCore.Init("RDFCore");// We do not need this add() call. It fails and doesn't execute the loadURL// call that is following. The job of add has already been done by the Init()// call.  		//	XPAppCoresManager.Add(rdfCore);			rdfCoreFound = true;		}	}	if (rdfCoreFound == true)	{		var shortcutURL = rdfCore.findBookmarkShortcut(document.getElementById('urlbar').value);		dump("FindBookmarkShortcut: in='" + document.getElementById('urlbar').value + "'  out='" + shortcutURL + "'\n");		if ((shortcutURL != null) && (shortcutURL != ""))		{			document.getElementById('urlbar').value = shortcutURL;		}	}	appCore.loadUrl(document.getElementById('urlbar').value);        }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2e824c3f146cf4f984579f9385e04f877007268f/navigator.js/buggy/xpfe/browser/src/navigator.js