rem: var url = getWebNavigation().currentURI.spec; 
add:    var url = _content.location.href; 
context: function UpdateInternetSearchResults(event){  var url = getWebNavigation().currentURI.spec;  if (url) {    try {      var search = Components.classes["@mozilla.org/rdf/datasource;1?name=internetsearch"]                             .getService(Components.interfaces.nsIInternetSearchService);      var searchInProgressFlag = search.FindInternetSearchResults(url);      if (searchInProgressFlag) {        var autoOpenSearchPanel = pref.GetBoolPref("browser.search.opensidebarsearchpanel");        if (autoOpenSearchPanel)          RevealSearchPanel();      }    } catch (ex) {    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ad9379e1ab6c0e866de1f7fbb759eea8cdc058cf/navigator.js/buggy/xpfe/browser/resources/content/navigator.js